Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.001561, allocations: 100.1 kB / 15.88 MB, free: 4 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.001703/0.001702, allocations: 200.4 kB / 16.8 MB, free: 6.82 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.379/1.379, allocations: 222.9 MB / 240.5 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437 MB / 0.7106 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 0.8692 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6422/0.6437, allocations: 151.6 MB / 1.017 GB, free: 2.855 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0368/0.6805, allocations: 34.54 MB / 1.051 GB, free: 212 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0187/0.6993, allocations: 11.5 MB / 1.062 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003747/0.7031, allocations: 143.2 kB / 1.062 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.01037/0.7135, allocations: 3.989 MB / 1.066 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.006118/0.7197, allocations: 1.867 MB / 1.068 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006423/0.7261, allocations: 2.175 MB / 1.07 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01292/0.739, allocations: 12.41 MB / 1.082 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02024/0.7593, allocations: 12.32 MB / 1.094 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006723/0.7661, allocations: 3.188 MB / 1.097 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007426/0.7735, allocations: 4.272 MB / 1.102 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002253/0.7758, allocations: 0.543 MB / 1.102 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005546/0.7814, allocations: 2.129 MB / 1.104 GB, free: 9.473 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.004502/0.7859, allocations: 2.822 MB / 1.107 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.006741/0.7927, allocations: 3.131 MB / 1.11 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01154/0.8042, allocations: 10.21 MB / 1.12 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.8043, allocations: 0 / 1.12 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8043, allocations: 4 kB / 1.12 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000433/0.8047, allocations: 0 / 1.12 GB, free: 9.266 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01572/0.8205, allocations: 5.795 MB / 1.126 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.8205, allocations: 8.031 kB / 1.126 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006969/0.8275, allocations: 1.056 MB / 1.127 GB, free: 2.328 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007131/0.8347, allocations: 3.266 MB / 1.13 GB, free: 15 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004477/0.8351, allocations: 411.5 kB / 1.13 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002096/0.8373, allocations: 0.5509 MB / 1.131 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/0.8584, allocations: 9.075 MB / 1.14 GB, free: 4.656 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003034/0.8587, allocations: 27.72 kB / 1.14 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001738/0.8605, allocations: 236 kB / 1.14 GB, free: 4.398 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003989/0.8609, allocations: 346.8 kB / 1.14 GB, free: 4.059 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01469/0.8756, allocations: 6.826 MB / 1.147 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04873/0.9243, allocations: 40.12 MB / 1.186 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.9285, allocations: 3.108 MB / 1.189 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002793/0.9313, allocations: 1.974 MB / 1.191 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.9315, allocations: 18 kB / 1.191 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.9315, allocations: 56.56 kB / 1.191 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=179): time 4.609e-06/0.9315, allocations: 0 / 1.191 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of matching and sorting (n=182): time 0.02571/0.9573, allocations: 9.981 MB / 1.201 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/0.9574, allocations: 69.41 kB / 1.201 GB, free: 1.93 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.9599, allocations: 1.522 MB / 1.202 GB, free: 372 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/0.9601, allocations: 53.7 kB / 1.203 GB, free: 312 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.9616, allocations: 2.257 MB / 1.205 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006303/0.9623, allocations: 0.6238 MB / 1.205 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006584/0.9629, allocations: 407.8 kB / 1.206 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.963, allocations: 305.1 kB / 1.206 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.9647, allocations: 1.183 MB / 1.207 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002199/0.967, allocations: 1.885 MB / 1.209 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/0.9712, allocations: 3.371 MB / 1.212 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-05/0.9712, allocations: 8 kB / 1.212 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00804/0.9793, allocations: 4.585 MB / 1.217 GB, free: 0.9805 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.994e-05/0.9793, allocations: 12 kB / 1.217 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.351e-05/0.9794, allocations: 24 kB / 1.217 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003832/0.9832, allocations: 1.575 MB / 1.218 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.9845, allocations: 351.4 kB / 1.219 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/1.007, allocations: 17.02 MB / 1.235 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/1.009, allocations: 115.9 kB / 1.235 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003767/1.009, allocations: 100 kB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003727/1.013, allocations: 1.901 MB / 1.237 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006358/1.013, allocations: 225.4 kB / 1.238 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007447/1.021, allocations: 4.094 MB / 1.242 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/1.021, allocations: 16 kB / 1.242 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-05/1.021, allocations: 23.94 kB / 1.242 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/1.021, allocations: 7.969 kB / 1.242 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6043/1.625, allocations: 9.471 MB / 1.251 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/1.625, allocations: 8.438 kB / 1.251 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009191/1.626, allocations: 178.5 kB / 1.251 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004066/1.63, allocations: 1.352 MB / 1.252 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002021/1.631, allocations: 35.09 kB / 1.252 GB, free: 209.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02135/1.652, allocations: 15.94 MB / 1.268 GB, free: 200.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/1.652, allocations: 8.344 kB / 1.268 GB, free: 200.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007152/1.659, allocations: 4.072 MB / 1.272 GB, free: 198.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.66, allocations: 0.5277 MB / 1.273 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/1.661, allocations: 36.39 kB / 1.273 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008963/1.662, allocations: 88.19 kB / 1.273 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005714/1.662, allocations: 165 kB / 1.273 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.662, allocations: 43.31 kB / 1.273 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001385/1.664, allocations: 1.006 MB / 1.274 GB, free: 197.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.202e-06/1.664, allocations: 2.562 kB / 1.274 GB, free: 197.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003217/1.667, allocations: 0.9913 MB / 1.275 GB, free: 197.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002704/1.667, allocations: 147.6 kB / 1.275 GB, free: 197.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005941/1.673, allocations: 4.28 MB / 1.279 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.673, allocations: 1 kB / 1.279 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003632/1.677, allocations: 2.672 MB / 1.282 GB, free: 194.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003475/1.68, allocations: 0.7159 MB / 1.282 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01425/1.695, allocations: 11.77 MB / 1.294 GB, free: 187.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003453/1.698, allocations: 3.662 MB / 1.297 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005623/1.699, allocations: 124.2 kB / 1.298 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.052e-06/1.699, allocations: 3.625 kB / 1.298 GB, free: 186.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.1144/1.813, allocations: 159.4 MB / 1.453 GB, free: 28.39 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches