Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.46/2.46, allocations: 390.5 MB / 398 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 182.8 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.739/1.739, allocations: 221.5 MB / 0.7868 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 91.58 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.03e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3124, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.379, allocations: 184.6 MB / 1.393 GB, free: 14.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/1.38, allocations: 98.34 kB / 1.393 GB, free: 14.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0665/1.446, allocations: 30.62 MB / 1.423 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.446, allocations: 0 / 1.423 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.081e-05/1.446, allocations: 12 kB / 1.423 GB, free: 5.945 MB / 0.8386 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.001613/1.448, allocations: 0.6386 MB / 1.423 GB, free: 5.289 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.448, allocations: 8.031 kB / 1.423 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/1.449, allocations: 151.1 kB / 1.423 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007254/1.45, allocations: 326.7 kB / 1.424 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/1.45, allocations: 12 kB / 1.424 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.224e-05/1.45, allocations: 23.81 kB / 1.424 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007823/1.451, allocations: 385 kB / 1.424 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/1.452, allocations: 0.5486 MB / 1.425 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/1.452, allocations: 4 kB / 1.425 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.666e-05/1.452, allocations: 0 / 1.425 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.208e-05/1.452, allocations: 36.14 kB / 1.425 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/1.457, allocations: 3.355 MB / 1.428 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/1.457, allocations: 362.4 kB / 1.428 GB, free: 444 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/1.457, allocations: 164.7 kB / 1.428 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/1.458, allocations: 4 kB / 1.428 GB, free: 324 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/1.458, allocations: 42.28 kB / 1.429 GB, free: 276 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.823e-06/1.458, allocations: 0 / 1.429 GB, free: 276 kB / 0.8386 GB Notification: Performance of matching and sorting (n=26): time 0.001844/1.459, allocations: 0.6573 MB / 1.429 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/1.459, allocations: 77.11 kB / 1.429 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/1.46, allocations: 263.8 kB / 1.429 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/1.46, allocations: 29.7 kB / 1.429 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000184/1.46, allocations: 259.2 kB / 1.43 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/1.46, allocations: 94.62 kB / 1.43 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/1.46, allocations: 0 / 1.43 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.46, allocations: 339.5 kB / 1.43 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/1.461, allocations: 163.3 kB / 1.43 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/1.461, allocations: 323.9 kB / 1.431 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/1.461, allocations: 243.6 kB / 1.431 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/1.461, allocations: 0 / 1.431 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001711/1.463, allocations: 0.7355 MB / 1.432 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009471/1.464, allocations: 2.091 MB / 1.434 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/1.464, allocations: 8 kB / 1.434 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/1.465, allocations: 234.5 kB / 1.434 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/1.466, allocations: 99 kB / 1.434 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/1.467, allocations: 1.264 MB / 1.435 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/1.467, allocations: 31.81 kB / 1.435 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/1.467, allocations: 23.62 kB / 1.435 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.467, allocations: 4 kB / 1.435 GB, free: 9.672 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007499/1.468, allocations: 442 kB / 1.436 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.468, allocations: 7.984 kB / 1.436 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/1.468, allocations: 15.94 kB / 1.436 GB, free: 9.32 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/1.468, allocations: 108.2 kB / 1.436 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.468, allocations: 11.94 kB / 1.436 GB, free: 9.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/1.469, allocations: 31.81 kB / 1.436 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/1.469, allocations: 19.69 kB / 1.436 GB, free: 9.16 MB / 0.8542 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.0001463/1.469, allocations: 116.8 kB / 1.436 GB, free: 9.039 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/1.469, allocations: 35.72 kB / 1.436 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/1.471, allocations: 0.667 MB / 1.437 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.471, allocations: 0 / 1.437 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/1.471, allocations: 7.938 kB / 1.437 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.471, allocations: 0 / 1.437 GB, free: 8.441 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008801/1.472, allocations: 0.5875 MB / 1.437 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.472, allocations: 96 / 1.437 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/1.472, allocations: 51.59 kB / 1.437 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/1.473, allocations: 403.3 kB / 1.438 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/1.473, allocations: 0 / 1.438 GB, free: 7.473 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00369/1.477, allocations: 3.331 MB / 1.441 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.477, allocations: 64 / 1.441 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001687/1.479, allocations: 0.8605 MB / 1.442 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/1.479, allocations: 143.2 kB / 1.442 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/1.479, allocations: 0 / 1.442 GB, free: 3.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/1.479, allocations: 31.94 kB / 1.442 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/1.479, allocations: 23.22 kB / 1.442 GB, free: 3.199 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/1.479, allocations: 7.875 kB / 1.442 GB, free: 3.195 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002079/1.48, allocations: 199.6 kB / 1.442 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.48, allocations: 0 / 1.442 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008915/1.481, allocations: 176.1 kB / 1.442 GB, free: 2.867 MB / 0.8542 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.0002066/1.481, allocations: 130.4 kB / 1.442 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001331/1.482, allocations: 0.6831 MB / 1.443 GB, free: 2.23 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.482, allocations: 0 / 1.443 GB, free: 2.23 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007227/1.483, allocations: 451.9 kB / 1.444 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/1.483, allocations: 55.86 kB / 1.444 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/1.485, allocations: 0.5244 MB / 1.444 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/1.485, allocations: 0.8492 MB / 1.445 GB, free: 444 kB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000471/1.486, allocations: 155.1 kB / 1.445 GB, free: 288 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.546e-05/1.486, allocations: 31.11 kB / 1.445 GB, free: 264 kB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/1.486, allocations: 0 / 1.445 GB, free: 264 kB / 0.8542 GB Notification: Performance of Templates: time 0.01133/1.497, allocations: 5.647 MB / 1.451 GB, free: 10.65 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sensors_Examples_Probe.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sensors.Examples.Probe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches