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/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 194.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 62.27 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4017, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008498/0.4102, allocations: 6.815 MB / 1.075 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00524/0.4155, allocations: 3.063 MB / 1.078 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.416, allocations: 27.81 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.4184, allocations: 0.9608 MB / 1.079 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.4196, allocations: 0.4934 MB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4208, allocations: 454.1 kB / 1.08 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001121/0.4219, allocations: 1.221 MB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000926/0.4229, allocations: 0.6625 MB / 1.082 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004773/0.4234, allocations: 478.3 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.424, allocations: 0.5136 MB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.884e-05/0.4241, allocations: 68 kB / 1.083 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007399/0.4248, allocations: 375.2 kB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002969/0.4251, allocations: 315.2 kB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.4255, allocations: 453.7 kB / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.4267, allocations: 1.203 MB / 1.085 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.4267, allocations: 0 / 1.085 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4267, allocations: 3.938 kB / 1.085 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.4267, allocations: 8 kB / 1.085 GB, free: 9.348 MB / 0.8419 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.001795/0.4285, allocations: 1.161 MB / 1.086 GB, free: 8.133 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.4286, allocations: 8.031 kB / 1.086 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.43, allocations: 239.5 kB / 1.086 GB, free: 7.891 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.4308, allocations: 0.5568 MB / 1.087 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.139e-05/0.4308, allocations: 49.67 kB / 1.087 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.431, allocations: 72.34 kB / 1.087 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.4323, allocations: 1.089 MB / 1.088 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.4324, allocations: 3.938 kB / 1.088 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.592e-05/0.4324, allocations: 31.98 kB / 1.088 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/0.4326, allocations: 85.25 kB / 1.088 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.4336, allocations: 0.7465 MB / 1.089 GB, free: 5.113 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004876/0.4385, allocations: 5.901 MB / 1.095 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009336/0.4395, allocations: 0.5555 MB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.4399, allocations: 326 kB / 1.095 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.4399, allocations: 4.438 kB / 1.095 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.44, allocations: 39 kB / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 2.655e-06/0.44, allocations: 0 / 1.095 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.00368/0.4437, allocations: 1.998 MB / 1.097 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.4437, allocations: 55.84 kB / 1.097 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/0.4443, allocations: 0.5587 MB / 1.098 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.4443, allocations: 33.7 kB / 1.098 GB, free: 11.08 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/0.4446, allocations: 414.9 kB / 1.098 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.4448, allocations: 173.6 kB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.4449, allocations: 130.5 kB / 1.099 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4451, allocations: 378.7 kB / 1.099 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003754/0.4455, allocations: 269.8 kB / 1.099 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/0.446, allocations: 493 kB / 1.1 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009512/0.447, allocations: 0.8172 MB / 1.101 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.447, allocations: 0 / 1.101 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001707/0.4487, allocations: 1.09 MB / 1.102 GB, free: 7.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.4487, allocations: 8 kB / 1.102 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.4488, allocations: 8 kB / 1.102 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008404/0.4496, allocations: 287.9 kB / 1.102 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.4501, allocations: 127.8 kB / 1.102 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00599/0.4561, allocations: 7.133 MB / 1.109 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.4567, allocations: 35.95 kB / 1.109 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-05/0.4567, allocations: 36.06 kB / 1.109 GB, free: 14.92 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003545/0.4571, allocations: 254 kB / 1.109 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4572, allocations: 75.16 kB / 1.109 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.4587, allocations: 0.8886 MB / 1.11 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4587, allocations: 4.188 kB / 1.11 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4587, allocations: 8 kB / 1.11 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4587, allocations: 3.984 kB / 1.11 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002318/0.461, allocations: 1.724 MB / 1.112 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.461, allocations: 0 / 1.112 GB, free: 11.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.4613, allocations: 64.02 kB / 1.112 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007118/0.462, allocations: 271.2 kB / 1.112 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.4621, allocations: 8 kB / 1.112 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006206/0.4683, allocations: 7.126 MB / 1.119 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4683, allocations: 0 / 1.119 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001502/0.4698, allocations: 0.9913 MB / 1.12 GB, free: 2.773 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.4701, allocations: 196.1 kB / 1.12 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.4702, allocations: 12 kB / 1.12 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.4706, allocations: 35.89 kB / 1.12 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.4707, allocations: 43.89 kB / 1.121 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.4708, allocations: 12 kB / 1.121 GB, free: 2.461 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004582/0.4712, allocations: 395.1 kB / 1.121 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4712, allocations: 0 / 1.121 GB, free: 2.078 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008492/0.4721, allocations: 224 kB / 1.121 GB, free: 1.859 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001992/0.4723, allocations: 119.8 kB / 1.121 GB, free: 1.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002106/0.4744, allocations: 1.326 MB / 1.123 GB, free: 364 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.4744, allocations: 0 / 1.123 GB, free: 364 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.4756, allocations: 0.8972 MB / 1.123 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.4766, allocations: 227.4 kB / 1.124 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.4789, allocations: 1.344 MB / 1.125 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006464/0.4796, allocations: 1.016 MB / 1.126 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004221/0.48, allocations: 118 kB / 1.126 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.4801, allocations: 43.44 kB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/0.4801, allocations: 4 kB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of Templates: time 0.01933/0.4995, allocations: 11.18 MB / 1.137 GB, free: 1.547 MB / 0.8887 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches