Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.427/2.427, allocations: 390.5 MB / 398 MB, free: 10.92 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.001022/0.001022, allocations: 180.8 kB / 491.2 MB, free: 1.551 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.526/1.526, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009482/0.000948, allocations: 87.84 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.493e-05/2.493e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.116/1.444, allocations: 175.3 MB / 1.383 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.444, allocations: 93.55 kB / 1.384 GB, free: 17.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1212/1.566, allocations: 55.32 MB / 1.438 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.228e-06/1.566, allocations: 4 kB / 1.438 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.012e-05/1.566, allocations: 24 kB / 1.438 GB, free: 10.11 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00191/1.568, allocations: 0.9744 MB / 1.439 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/1.568, allocations: 8.031 kB / 1.439 GB, free: 9.141 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/1.569, allocations: 234.7 kB / 1.439 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008798/1.57, allocations: 0.542 MB / 1.439 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/1.57, allocations: 24 kB / 1.439 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.346e-05/1.57, allocations: 47.41 kB / 1.439 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001009/1.571, allocations: 0.5944 MB / 1.44 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/1.573, allocations: 1.023 MB / 1.441 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/1.573, allocations: 4 kB / 1.441 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/1.573, allocations: 7.953 kB / 1.441 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.486e-05/1.573, allocations: 56.78 kB / 1.441 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005587/1.579, allocations: 5.765 MB / 1.447 GB, free: 1.344 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/1.58, allocations: 0.5237 MB / 1.447 GB, free: 0.9844 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003819/1.58, allocations: 310.1 kB / 1.447 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.223e-05/1.58, allocations: 8.438 kB / 1.447 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/1.58, allocations: 38.38 kB / 1.448 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=47): time 4.378e-06/1.58, allocations: 0 / 1.448 GB, free: 0.7422 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.002189/1.582, allocations: 1.161 MB / 1.449 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/1.582, allocations: 63.83 kB / 1.449 GB, free: 15.76 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005191/1.583, allocations: 406 kB / 1.449 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/1.583, allocations: 29.7 kB / 1.449 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/1.583, allocations: 401.5 kB / 1.45 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/1.583, allocations: 166.5 kB / 1.45 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/1.583, allocations: 0 / 1.45 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.584, allocations: 367.3 kB / 1.45 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/1.584, allocations: 250 kB / 1.45 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/1.584, allocations: 444.7 kB / 1.451 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/1.585, allocations: 313.1 kB / 1.451 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.585, allocations: 4 kB / 1.451 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001518/1.586, allocations: 0.9642 MB / 1.452 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.586, allocations: 4.094 kB / 1.452 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.586, allocations: 12 kB / 1.452 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008266/1.587, allocations: 274.2 kB / 1.452 GB, free: 12.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/1.588, allocations: 118.9 kB / 1.452 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005849/1.594, allocations: 6.323 MB / 1.458 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/1.594, allocations: 27.95 kB / 1.459 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.387e-05/1.594, allocations: 27.88 kB / 1.459 GB, free: 6.52 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001988/1.595, allocations: 124.8 kB / 1.459 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/1.595, allocations: 67.25 kB / 1.459 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001478/1.596, allocations: 0.8261 MB / 1.46 GB, free: 5.711 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.596, allocations: 8.047 kB / 1.46 GB, free: 5.703 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.596, allocations: 7.984 kB / 1.46 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.596, allocations: 0 / 1.46 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/1.599, allocations: 1.567 MB / 1.461 GB, free: 4.434 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.599, allocations: 4 kB / 1.461 GB, free: 4.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/1.599, allocations: 55.95 kB / 1.461 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006917/1.6, allocations: 265.9 kB / 1.461 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.978e-05/1.6, allocations: 0 / 1.461 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005569/1.605, allocations: 6.313 MB / 1.468 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.605, allocations: 0 / 1.468 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/1.607, allocations: 1.004 MB / 1.469 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002949/1.607, allocations: 189.2 kB / 1.469 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/1.607, allocations: 0 / 1.469 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003427/1.607, allocations: 19.97 kB / 1.469 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-05/1.608, allocations: 47.62 kB / 1.469 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/1.608, allocations: 12 kB / 1.469 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003849/1.608, allocations: 304.5 kB / 1.469 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/1.608, allocations: 0 / 1.469 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008888/1.609, allocations: 200 kB / 1.469 GB, free: 12.43 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000204/1.609, allocations: 116.5 kB / 1.469 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001741/1.611, allocations: 1.174 MB / 1.471 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/1.611, allocations: 4.125 kB / 1.471 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/1.612, allocations: 0.8329 MB / 1.471 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/1.613, allocations: 169.6 kB / 1.472 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/1.615, allocations: 0.9566 MB / 1.472 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/1.615, allocations: 1.029 MB / 1.473 GB, free: 8.504 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004083/1.616, allocations: 113.3 kB / 1.474 GB, free: 8.391 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/1.616, allocations: 39.44 kB / 1.474 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of SimCode: time 9.02e-07/1.616, allocations: 0 / 1.474 GB, free: 8.352 MB / 0.8855 GB Notification: Performance of Templates: time 0.01665/1.632, allocations: 9.309 MB / 1.483 GB, free: 15.15 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches