Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.387/2.387, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001138/0.001137, allocations: 169.2 kB / 498.1 MB, free: 5.746 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.589/1.589, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.00107/0.00107, allocations: 87.86 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004884, allocations: 8.719 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3907, allocations: 142.3 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.6204, allocations: 175.2 MB / 1.394 GB, free: 10.17 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.6207, allocations: 99.92 kB / 1.394 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.7861/1.407, allocations: 55.85 MB / 1.449 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.464e-06/1.407, allocations: 0 / 1.449 GB, free: 163.6 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 9.077e-05/1.407, allocations: 24.48 kB / 1.449 GB, free: 163.6 MB / 0.9011 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.002737/1.41, allocations: 1.053 MB / 1.45 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.41, allocations: 7.094 kB / 1.45 GB, free: 162.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/1.412, allocations: 249.3 kB / 1.45 GB, free: 162.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/1.413, allocations: 0.5357 MB / 1.45 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.033e-05/1.413, allocations: 56.56 kB / 1.45 GB, free: 162.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/1.413, allocations: 64.31 kB / 1.451 GB, free: 162.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/1.415, allocations: 1.135 MB / 1.452 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/1.415, allocations: 3.719 kB / 1.452 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/1.415, allocations: 31.19 kB / 1.452 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/1.415, allocations: 54.78 kB / 1.452 GB, free: 161.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/1.417, allocations: 0.7553 MB / 1.452 GB, free: 160.8 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004956/1.421, allocations: 5.913 MB / 1.458 GB, free: 154.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008461/1.422, allocations: 0.5555 MB / 1.459 GB, free: 154.1 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/1.422, allocations: 4.438 kB / 1.459 GB, free: 154.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/1.422, allocations: 42.98 kB / 1.459 GB, free: 154 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=47): time 2.775e-06/1.422, allocations: 3.938 kB / 1.459 GB, free: 154 MB / 0.9011 GB Notification: Performance of matching and sorting (n=48): time 0.003549/1.426, allocations: 1.976 MB / 1.461 GB, free: 152 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/1.426, allocations: 59.84 kB / 1.461 GB, free: 151.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006078/1.427, allocations: 499.2 kB / 1.461 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/1.427, allocations: 37.7 kB / 1.461 GB, free: 151.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/1.427, allocations: 407.2 kB / 1.462 GB, free: 151 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/1.427, allocations: 169.5 kB / 1.462 GB, free: 150.8 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/1.427, allocations: 16 kB / 1.462 GB, free: 150.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.427, allocations: 378.8 kB / 1.462 GB, free: 150.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/1.428, allocations: 265.2 kB / 1.463 GB, free: 150.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/1.428, allocations: 458.8 kB / 1.463 GB, free: 149.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/1.428, allocations: 338 kB / 1.463 GB, free: 149.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.428, allocations: 4 kB / 1.463 GB, free: 149.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00158/1.43, allocations: 1.059 MB / 1.464 GB, free: 148.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/1.43, allocations: 9.406 kB / 1.464 GB, free: 148.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.43, allocations: 8 kB / 1.464 GB, free: 148.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007756/1.431, allocations: 283.5 kB / 1.465 GB, free: 147.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/1.431, allocations: 115.8 kB / 1.465 GB, free: 147.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00484/1.436, allocations: 6.701 MB / 1.471 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/1.437, allocations: 44.03 kB / 1.471 GB, free: 140.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/1.437, allocations: 24 kB / 1.471 GB, free: 140.5 MB / 0.9011 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 () * Number of clocked 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.0004651/1.437, allocations: 245.6 kB / 1.472 GB, free: 140.2 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/1.438, allocations: 71.16 kB / 1.472 GB, free: 140.1 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/1.439, allocations: 0.8925 MB / 1.472 GB, free: 139.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/1.439, allocations: 4 kB / 1.472 GB, free: 139.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/1.439, allocations: 4 kB / 1.472 GB, free: 139.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.439, allocations: 3.984 kB / 1.472 GB, free: 139.2 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002476/1.442, allocations: 1.725 MB / 1.474 GB, free: 137.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/1.442, allocations: 4 kB / 1.474 GB, free: 137.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/1.442, allocations: 64.08 kB / 1.474 GB, free: 137.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006999/1.443, allocations: 263.2 kB / 1.474 GB, free: 137.1 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.921e-05/1.443, allocations: 8 kB / 1.475 GB, free: 137.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004727/1.447, allocations: 6.702 MB / 1.481 GB, free: 129.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.447, allocations: 7.969 kB / 1.481 GB, free: 129.8 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/1.449, allocations: 1.044 MB / 1.482 GB, free: 128.7 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/1.449, allocations: 196.2 kB / 1.482 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.449, allocations: 11.95 kB / 1.482 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/1.45, allocations: 31.97 kB / 1.482 GB, free: 128.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.45, allocations: 47.88 kB / 1.482 GB, free: 128.4 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/1.45, allocations: 16 kB / 1.482 GB, free: 128.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004577/1.451, allocations: 383.1 kB / 1.483 GB, free: 128 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/1.451, allocations: 0 / 1.483 GB, free: 128 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009437/1.452, allocations: 228 kB / 1.483 GB, free: 127.8 MB / 0.9011 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 () * Number of clocked 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.0001865/1.452, allocations: 131 kB / 1.483 GB, free: 127.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001743/1.453, allocations: 1.264 MB / 1.484 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/1.453, allocations: 0 / 1.484 GB, free: 126.3 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.454, allocations: 0.8855 MB / 1.485 GB, free: 125.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/1.456, allocations: 193.5 kB / 1.485 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/1.458, allocations: 1.584 MB / 1.487 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/1.459, allocations: 1.028 MB / 1.488 GB, free: 122.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004791/1.459, allocations: 126.1 kB / 1.488 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/1.459, allocations: 39.44 kB / 1.488 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of SimCode: time 1.492e-06/1.459, allocations: 0 / 1.488 GB, free: 122.4 MB / 0.9011 GB Notification: Performance of Templates: time 0.01864/1.478, allocations: 10.31 MB / 1.498 GB, free: 112.2 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches