Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_source.V|probe_loadRC.V|probe_loadRL.V|probe_source.theta|probe_loadRC.theta|probe_loadRL.theta",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.443/1.443, allocations: 249.5 MB / 257 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009462/0.0009462, allocations: 176.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.3 MB / 0.5671 GB, free: 15.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009106/0.0009101, allocations: 86.17 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.49e-05/1.493e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2294, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8246/1.054, allocations: 166.9 MB / 1.048 GB, free: 4.945 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003277/1.054, allocations: 96.94 kB / 1.048 GB, free: 4.891 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.05794/1.112, allocations: 24.18 MB / 1.072 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.905e-06/1.112, allocations: 0 / 1.072 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.279e-05/1.112, allocations: 11.94 kB / 1.072 GB, free: 0.7148 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001064/1.113, allocations: 0.6361 MB / 1.073 GB, free: 60 kB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/1.114, allocations: 8.031 kB / 1.073 GB, free: 52 kB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/1.115, allocations: 152.2 kB / 1.073 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004444/1.115, allocations: 320.8 kB / 1.073 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/1.115, allocations: 12 kB / 1.073 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/1.115, allocations: 20 kB / 1.073 GB, free: 15.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005945/1.116, allocations: 382.2 kB / 1.073 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007556/1.117, allocations: 0.5564 MB / 1.074 GB, free: 14.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.117, allocations: 7.906 kB / 1.074 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.134e-05/1.117, allocations: 0 / 1.074 GB, free: 14.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/1.117, allocations: 39.77 kB / 1.074 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/1.12, allocations: 3.358 MB / 1.077 GB, free: 11.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005898/1.12, allocations: 362.6 kB / 1.078 GB, free: 11.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/1.121, allocations: 164.2 kB / 1.078 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/1.121, allocations: 4 kB / 1.078 GB, free: 11.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.658e-05/1.121, allocations: 41.89 kB / 1.078 GB, free: 11.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.502e-06/1.121, allocations: 4 kB / 1.078 GB, free: 11.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.001713/1.122, allocations: 0.6545 MB / 1.078 GB, free: 10.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/1.123, allocations: 81.05 kB / 1.079 GB, free: 10.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/1.123, allocations: 258.1 kB / 1.079 GB, free: 10.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.038e-05/1.123, allocations: 29.7 kB / 1.079 GB, free: 10.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/1.123, allocations: 265.4 kB / 1.079 GB, free: 9.891 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/1.123, allocations: 92.3 kB / 1.079 GB, free: 9.812 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/1.123, allocations: 0 / 1.079 GB, free: 9.812 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.123, allocations: 337.2 kB / 1.079 GB, free: 9.484 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/1.123, allocations: 161.9 kB / 1.08 GB, free: 9.387 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/1.124, allocations: 312.7 kB / 1.08 GB, free: 9.074 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/1.124, allocations: 253.6 kB / 1.08 GB, free: 8.895 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.124, allocations: 0 / 1.08 GB, free: 8.895 MB / 0.698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001564/1.126, allocations: 0.7342 MB / 1.081 GB, free: 8.289 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000786/1.127, allocations: 2.085 MB / 1.083 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.127, allocations: 8 kB / 1.083 GB, free: 6.066 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/1.128, allocations: 242 kB / 1.083 GB, free: 5.844 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/1.128, allocations: 95.38 kB / 1.083 GB, free: 5.754 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/1.129, allocations: 1.264 MB / 1.084 GB, free: 4.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/1.13, allocations: 31.81 kB / 1.084 GB, free: 4.469 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.074e-05/1.13, allocations: 27.42 kB / 1.085 GB, free: 4.445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/1.13, allocations: 9.672 kB / 1.085 GB, free: 4.438 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007401/1.13, allocations: 442.9 kB / 1.085 GB, free: 4.109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/1.13, allocations: 4 kB / 1.085 GB, free: 4.105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.13, allocations: 12.72 kB / 1.085 GB, free: 4.094 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/1.131, allocations: 107.7 kB / 1.085 GB, free: 3.992 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/1.131, allocations: 15.98 kB / 1.085 GB, free: 3.977 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/1.131, allocations: 19.89 kB / 1.085 GB, free: 3.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/1.131, allocations: 23.23 kB / 1.085 GB, free: 3.938 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001335/1.131, allocations: 120.3 kB / 1.085 GB, free: 3.816 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.471e-05/1.131, allocations: 35.58 kB / 1.085 GB, free: 3.781 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/1.133, allocations: 0.6551 MB / 1.086 GB, free: 3.238 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/1.133, allocations: 3.953 kB / 1.086 GB, free: 3.234 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.133, allocations: 11.92 kB / 1.086 GB, free: 3.223 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.133, allocations: 0 / 1.086 GB, free: 3.223 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/1.134, allocations: 0.5869 MB / 1.086 GB, free: 2.684 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.134, allocations: 4.094 kB / 1.087 GB, free: 2.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/1.134, allocations: 43.22 kB / 1.087 GB, free: 2.641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001455/1.135, allocations: 409.2 kB / 1.087 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/1.136, allocations: 4 kB / 1.087 GB, free: 2.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/1.139, allocations: 3.335 MB / 1.09 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/1.139, allocations: 8 kB / 1.09 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/1.141, allocations: 0.8548 MB / 1.091 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/1.141, allocations: 139.3 kB / 1.091 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/1.141, allocations: 0 / 1.091 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/1.141, allocations: 39.78 kB / 1.091 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/1.141, allocations: 27.83 kB / 1.091 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/1.141, allocations: 7.938 kB / 1.091 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001766/1.142, allocations: 201.7 kB / 1.091 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/1.142, allocations: 4 kB / 1.091 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007882/1.142, allocations: 168.1 kB / 1.092 GB, free: 13.62 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001983/1.143, allocations: 119.2 kB / 1.092 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001187/1.144, allocations: 0.6747 MB / 1.092 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.144, allocations: 0 / 1.092 GB, free: 13 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006846/1.144, allocations: 455.2 kB / 1.093 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/1.145, allocations: 55.25 kB / 1.093 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008956/1.146, allocations: 0.5166 MB / 1.093 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/1.146, allocations: 0.8539 MB / 1.094 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0004399/1.147, allocations: 155.1 kB / 1.094 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/1.147, allocations: 26.56 kB / 1.094 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/1.147, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.009787/1.157, allocations: 5.661 MB / 1.1 GB, free: 5.422 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches