Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007006/0.007006, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001353/0.001353, allocations: 187.7 kB / 16.67 MB, free: 5.977 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.492/2.492, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 62.84 kB / 0.9509 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.324, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03797/0.3621, allocations: 32.61 MB / 1.12 GB, free: 0.7891 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01939/0.3815, allocations: 10.27 MB / 1.13 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003596/0.3852, allocations: 151.2 kB / 1.13 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009541/0.3948, allocations: 3.709 MB / 1.134 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006441/0.4012, allocations: 1.854 MB / 1.135 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006467/0.4077, allocations: 2.132 MB / 1.137 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.011/0.4188, allocations: 7.333 MB / 1.145 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01537/0.4342, allocations: 9.412 MB / 1.154 GB, free: 13.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005788/0.44, allocations: 3.221 MB / 1.157 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006162/0.4462, allocations: 3.485 MB / 1.16 GB, free: 7.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002152/0.4484, allocations: 0.6484 MB / 1.161 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005175/0.4536, allocations: 1.775 MB / 1.163 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004384/0.458, allocations: 2.542 MB / 1.165 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00708/0.4651, allocations: 2.898 MB / 1.168 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01513/0.4802, allocations: 10.11 MB / 1.178 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.4803, allocations: 0 / 1.178 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4803, allocations: 0 / 1.178 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004363/0.4808, allocations: 0 / 1.178 GB, free: 5.004 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01645/0.4972, allocations: 5.002 MB / 1.183 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.4973, allocations: 12.03 kB / 1.183 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006677/0.504, allocations: 0.9512 MB / 1.184 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007088/0.5111, allocations: 3.046 MB / 1.187 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/0.5115, allocations: 345.7 kB / 1.187 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/0.5136, allocations: 460.2 kB / 1.187 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/0.534, allocations: 7.671 MB / 1.195 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003205/0.5343, allocations: 23.78 kB / 1.195 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001683/0.536, allocations: 196 kB / 1.195 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004456/0.5365, allocations: 316.9 kB / 1.195 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0133/0.5498, allocations: 5.706 MB / 1.201 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04741/0.5972, allocations: 34.83 MB / 1.235 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/0.6004, allocations: 2.153 MB / 1.237 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001746/0.6021, allocations: 1.272 MB / 1.238 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.76e-05/0.6022, allocations: 13.31 kB / 1.238 GB, free: 3.199 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.6023, allocations: 43.88 kB / 1.238 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 3.496e-06/0.6023, allocations: 3.938 kB / 1.238 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=136): time 0.01577/0.6181, allocations: 7.088 MB / 1.245 GB, free: 11.79 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.6183, allocations: 64.72 kB / 1.245 GB, free: 11.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004669/0.6229, allocations: 1.488 MB / 1.247 GB, free: 10.18 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003486/0.6233, allocations: 45.7 kB / 1.247 GB, free: 10.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001889/0.6252, allocations: 2.008 MB / 1.249 GB, free: 8.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008442/0.6261, allocations: 496.9 kB / 1.249 GB, free: 7.598 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008577/0.627, allocations: 347.1 kB / 1.25 GB, free: 7.254 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6272, allocations: 301.1 kB / 1.25 GB, free: 6.957 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001663/0.6288, allocations: 0.9096 MB / 1.251 GB, free: 6.047 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002149/0.631, allocations: 1.597 MB / 1.252 GB, free: 4.133 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003557/0.6346, allocations: 2.733 MB / 1.255 GB, free: 1.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.709e-05/0.6346, allocations: 8 kB / 1.255 GB, free: 1.082 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.7131/1.348, allocations: 3.526 MB / 1.259 GB, free: 153.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/1.348, allocations: 15.28 kB / 1.259 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-05/1.348, allocations: 23.53 kB / 1.259 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/1.351, allocations: 0.9011 MB / 1.26 GB, free: 153.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.352, allocations: 349.2 kB / 1.26 GB, free: 153.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/1.372, allocations: 23.1 MB / 1.282 GB, free: 134.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.374, allocations: 107.8 kB / 1.282 GB, free: 134.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/1.374, allocations: 87.33 kB / 1.283 GB, free: 134.3 MB / 1.014 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.004282/1.378, allocations: 1.601 MB / 1.284 GB, free: 133.6 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005854/1.379, allocations: 204.5 kB / 1.284 GB, free: 133.6 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00722/1.386, allocations: 2.989 MB / 1.287 GB, free: 132.3 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.633e-05/1.386, allocations: 14.2 kB / 1.287 GB, free: 132.3 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.152e-05/1.386, allocations: 13.41 kB / 1.287 GB, free: 132.3 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/1.386, allocations: 13.53 kB / 1.287 GB, free: 132.3 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/1.399, allocations: 7.338 MB / 1.294 GB, free: 129 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.4, allocations: 8.812 kB / 1.294 GB, free: 129 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008018/1.4, allocations: 173.4 kB / 1.295 GB, free: 129 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002463/1.403, allocations: 0.8213 MB / 1.295 GB, free: 128.7 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.403, allocations: 30.69 kB / 1.295 GB, free: 128.7 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01738/1.42, allocations: 21.94 MB / 1.317 GB, free: 109.7 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.626e-06/1.42, allocations: 5.031 kB / 1.317 GB, free: 109.7 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/1.426, allocations: 3.034 MB / 1.32 GB, free: 108.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009171/1.427, allocations: 455.4 kB / 1.32 GB, free: 108 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/1.427, allocations: 32.12 kB / 1.32 GB, free: 108 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008434/1.428, allocations: 72.92 kB / 1.32 GB, free: 108 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004893/1.428, allocations: 123.8 kB / 1.321 GB, free: 108 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.428, allocations: 43.8 kB / 1.321 GB, free: 107.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001525/1.43, allocations: 0.9778 MB / 1.322 GB, free: 107.5 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.9e-07/1.43, allocations: 0 / 1.322 GB, free: 107.5 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003512/1.433, allocations: 0.7842 MB / 1.322 GB, free: 107.5 MB / 1.014 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002634/1.434, allocations: 146.1 kB / 1.322 GB, free: 107.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005923/1.44, allocations: 4.039 MB / 1.326 GB, free: 105 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.44, allocations: 0 / 1.326 GB, free: 105 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003605/1.443, allocations: 2.736 MB / 1.329 GB, free: 103.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00309/1.446, allocations: 0.7197 MB / 1.33 GB, free: 102.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.458, allocations: 7.126 MB / 1.337 GB, free: 99.65 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002983/1.461, allocations: 3.108 MB / 1.34 GB, free: 97.86 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001388/1.463, allocations: 460.1 kB / 1.34 GB, free: 97.65 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/1.463, allocations: 112.7 kB / 1.34 GB, free: 97.65 MB / 1.014 GB Notification: Performance of SimCode: time 1.082e-06/1.463, allocations: 0 / 1.34 GB, free: 97.65 MB / 1.014 GB Notification: Performance of Templates: time 0.05971/1.523, allocations: 36.79 MB / 1.376 GB, free: 63.52 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches