Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001567/0.001567, allocations: 105.8 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 190.8 kB / 16.91 MB, free: 6.188 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 0.665 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 66.89 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2624, allocations: 140.4 MB / 0.9498 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03635/0.2988, allocations: 34.54 MB / 0.9835 GB, free: 6.523 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.3169, allocations: 11.39 MB / 0.9946 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00365/0.3206, allocations: 147.2 kB / 0.9948 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01035/0.3311, allocations: 4 MB / 0.9987 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.3369, allocations: 1.828 MB / 1 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006397/0.3434, allocations: 2.179 MB / 1.003 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.009914/0.3533, allocations: 8.483 MB / 1.011 GB, free: 10.43 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02179/0.3751, allocations: 13.45 MB / 1.024 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007028/0.3822, allocations: 3.797 MB / 1.028 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007205/0.3894, allocations: 4.393 MB / 1.032 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002791/0.3923, allocations: 0.7773 MB / 1.033 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00537/0.3976, allocations: 2.032 MB / 1.035 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.004917/0.4026, allocations: 3.041 MB / 1.038 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.007261/0.4099, allocations: 3.412 MB / 1.041 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.4209, allocations: 10.25 MB / 1.051 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4209, allocations: 4 kB / 1.051 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4209, allocations: 0 / 1.051 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003688/0.4213, allocations: 4 kB / 1.051 GB, free: 1.094 MB / 0.8262 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.01497/0.4363, allocations: 5.803 MB / 1.057 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4363, allocations: 8.031 kB / 1.057 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006733/0.4431, allocations: 1.052 MB / 1.058 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006723/0.4498, allocations: 3.262 MB / 1.061 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003898/0.4502, allocations: 407.5 kB / 1.061 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001927/0.4522, allocations: 0.547 MB / 1.062 GB, free: 5.887 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/0.4732, allocations: 9.079 MB / 1.071 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003631/0.4736, allocations: 27.77 kB / 1.071 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002058/0.4756, allocations: 236 kB / 1.071 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004532/0.4761, allocations: 350.8 kB / 1.071 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.491, allocations: 6.83 MB / 1.078 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5212/1.012, allocations: 40.11 MB / 1.117 GB, free: 88.49 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00458/1.017, allocations: 3.108 MB / 1.12 GB, free: 86.72 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002999/1.02, allocations: 1.97 MB / 1.122 GB, free: 85.96 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/1.02, allocations: 20.06 kB / 1.122 GB, free: 85.96 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.02, allocations: 55.62 kB / 1.122 GB, free: 85.9 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=179): time 4.829e-06/1.02, allocations: 0 / 1.122 GB, free: 85.9 MB / 0.8575 GB Notification: Performance of matching and sorting (n=182): time 0.02766/1.048, allocations: 9.98 MB / 1.132 GB, free: 82.14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/1.048, allocations: 70.59 kB / 1.132 GB, free: 82.08 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/1.051, allocations: 1.531 MB / 1.134 GB, free: 81.45 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002656/1.051, allocations: 55.55 kB / 1.134 GB, free: 81.39 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001372/1.052, allocations: 2.253 MB / 1.136 GB, free: 79.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006549/1.053, allocations: 0.631 MB / 1.136 GB, free: 79.21 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008729/1.054, allocations: 409.7 kB / 1.137 GB, free: 79.02 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.322e-05/1.054, allocations: 305.1 kB / 1.137 GB, free: 78.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001683/1.056, allocations: 1.177 MB / 1.138 GB, free: 78.29 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002032/1.058, allocations: 1.877 MB / 1.14 GB, free: 76.96 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004031/1.062, allocations: 3.376 MB / 1.143 GB, free: 74.74 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.412e-05/1.062, allocations: 7.594 kB / 1.143 GB, free: 74.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007994/1.07, allocations: 4.573 MB / 1.148 GB, free: 72.29 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/1.07, allocations: 13.91 kB / 1.148 GB, free: 72.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.492e-05/1.07, allocations: 30.97 kB / 1.148 GB, free: 72.29 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003891/1.074, allocations: 1.595 MB / 1.149 GB, free: 71.62 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001368/1.075, allocations: 347.6 kB / 1.15 GB, free: 71.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/1.095, allocations: 18.59 MB / 1.168 GB, free: 58.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/1.097, allocations: 117.5 kB / 1.168 GB, free: 57.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000383/1.098, allocations: 96.09 kB / 1.168 GB, free: 57.94 MB / 0.8575 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.003331/1.101, allocations: 1.9 MB / 1.17 GB, free: 56.77 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006913/1.102, allocations: 220.8 kB / 1.17 GB, free: 56.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00636/1.108, allocations: 4.099 MB / 1.174 GB, free: 54.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.108, allocations: 18.75 kB / 1.174 GB, free: 54.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.601e-05/1.108, allocations: 15 kB / 1.174 GB, free: 54.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-05/1.108, allocations: 7.969 kB / 1.174 GB, free: 54.28 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01586/1.124, allocations: 9.479 MB / 1.183 GB, free: 46.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/1.124, allocations: 4.562 kB / 1.183 GB, free: 46.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007751/1.125, allocations: 187.7 kB / 1.184 GB, free: 45.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003066/1.128, allocations: 1.369 MB / 1.185 GB, free: 44.52 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001804/1.128, allocations: 36 kB / 1.185 GB, free: 44.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/1.145, allocations: 17.37 MB / 1.202 GB, free: 26.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.145, allocations: 7.984 kB / 1.202 GB, free: 26.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006153/1.151, allocations: 4.071 MB / 1.206 GB, free: 22.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/1.152, allocations: 0.5299 MB / 1.206 GB, free: 21.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005565/1.153, allocations: 39.98 kB / 1.207 GB, free: 21.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/1.154, allocations: 83.91 kB / 1.207 GB, free: 21.74 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004694/1.155, allocations: 161.7 kB / 1.207 GB, free: 21.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.155, allocations: 52 kB / 1.207 GB, free: 21.53 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001436/1.156, allocations: 1.005 MB / 1.208 GB, free: 20.5 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.71e-07/1.156, allocations: 0 / 1.208 GB, free: 20.5 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003365/1.16, allocations: 0.9883 MB / 1.209 GB, free: 19.51 MB / 0.8575 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.0002888/1.16, allocations: 151 kB / 1.209 GB, free: 19.35 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.007309/1.167, allocations: 5.191 MB / 1.214 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.167, allocations: 5 kB / 1.214 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/1.171, allocations: 2.661 MB / 1.217 GB, free: 11.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00364/1.175, allocations: 0.7741 MB / 1.217 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01713/1.192, allocations: 11.78 MB / 1.229 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006119/1.198, allocations: 3.666 MB / 1.232 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006395/1.199, allocations: 123.4 kB / 1.233 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of SimCode: time 1.322e-06/1.199, allocations: 0 / 1.233 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of Templates: time 0.2073/1.406, allocations: 159.4 MB / 1.388 GB, free: 11.55 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches