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.01003/0.01003, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.00243/0.00243, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.48/2.48, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 68.02 kB / 0.9509 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3104, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04029/0.3507, allocations: 32.6 MB / 1.12 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01821/0.369, allocations: 10.27 MB / 1.13 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00324/0.3723, allocations: 151.2 kB / 1.13 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009667/0.3821, allocations: 3.72 MB / 1.134 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006117/0.3882, allocations: 1.952 MB / 1.135 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006624/0.3948, allocations: 2.139 MB / 1.138 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01103/0.4059, allocations: 7.341 MB / 1.145 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01435/0.4203, allocations: 9.412 MB / 1.154 GB, free: 13.6 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005935/0.4262, allocations: 3.237 MB / 1.157 GB, free: 10.35 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005737/0.432, allocations: 3.477 MB / 1.16 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002084/0.4341, allocations: 0.6523 MB / 1.161 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004603/0.4388, allocations: 1.767 MB / 1.163 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004011/0.4428, allocations: 2.538 MB / 1.165 GB, free: 1.898 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.005789/0.4486, allocations: 2.906 MB / 1.168 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.4629, allocations: 10.14 MB / 1.178 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.463, allocations: 0 / 1.178 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.855e-06/0.463, allocations: 0 / 1.178 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0004148/0.4634, allocations: 0 / 1.178 GB, free: 4.812 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.013/0.4764, allocations: 5.127 MB / 1.183 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.4765, allocations: 12.02 kB / 1.183 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005462/0.482, allocations: 0.9735 MB / 1.184 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006771/0.4888, allocations: 3.055 MB / 1.187 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000287/0.4891, allocations: 349.7 kB / 1.187 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001175/0.4903, allocations: 472.2 kB / 1.188 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/0.5052, allocations: 7.663 MB / 1.195 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001371/0.5054, allocations: 27.81 kB / 1.195 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005004/0.5059, allocations: 196 kB / 1.196 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003214/0.5062, allocations: 313 kB / 1.196 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.5168, allocations: 5.714 MB / 1.201 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04716/0.564, allocations: 34.88 MB / 1.235 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.5672, allocations: 2.156 MB / 1.238 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.5691, allocations: 1.268 MB / 1.239 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.293e-05/0.5692, allocations: 13.31 kB / 1.239 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.5692, allocations: 51.81 kB / 1.239 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 3.657e-06/0.5692, allocations: 0 / 1.239 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=136): time 0.01456/0.5838, allocations: 7.145 MB / 1.246 GB, free: 11.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.5839, allocations: 64.72 kB / 1.246 GB, free: 11.25 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.586, allocations: 1.488 MB / 1.247 GB, free: 9.711 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.5861, allocations: 49.7 kB / 1.247 GB, free: 9.656 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/0.5875, allocations: 2.069 MB / 1.249 GB, free: 7.566 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005024/0.5881, allocations: 0.4996 MB / 1.25 GB, free: 7.062 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004972/0.5886, allocations: 351.3 kB / 1.25 GB, free: 6.715 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5887, allocations: 301.1 kB / 1.251 GB, free: 6.418 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.5899, allocations: 0.9135 MB / 1.251 GB, free: 5.504 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.5916, allocations: 1.593 MB / 1.253 GB, free: 3.594 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00322/0.5948, allocations: 2.737 MB / 1.256 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.5949, allocations: 4 kB / 1.256 GB, free: 0.543 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.7579/1.353, allocations: 3.539 MB / 1.259 GB, free: 153.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.589e-05/1.353, allocations: 15.03 kB / 1.259 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.421e-05/1.353, allocations: 24.44 kB / 1.259 GB, free: 153.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/1.356, allocations: 0.8999 MB / 1.26 GB, free: 153.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/1.357, allocations: 349.3 kB / 1.26 GB, free: 153.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02104/1.378, allocations: 23.11 MB / 1.283 GB, free: 134 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/1.38, allocations: 108.1 kB / 1.283 GB, free: 134 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.381, allocations: 83.08 kB / 1.283 GB, free: 134 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.003673/1.384, allocations: 1.612 MB / 1.285 GB, free: 133.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005498/1.385, allocations: 212.8 kB / 1.285 GB, free: 133.3 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005837/1.391, allocations: 2.987 MB / 1.288 GB, free: 132 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/1.391, allocations: 13.38 kB / 1.288 GB, free: 132 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.32e-05/1.391, allocations: 10.22 kB / 1.288 GB, free: 132 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/1.391, allocations: 10.78 kB / 1.288 GB, free: 132 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/1.404, allocations: 7.331 MB / 1.295 GB, free: 128.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/1.404, allocations: 11.88 kB / 1.295 GB, free: 128.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/1.404, allocations: 178.1 kB / 1.295 GB, free: 128.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002425/1.407, allocations: 0.8256 MB / 1.296 GB, free: 128.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.407, allocations: 26.31 kB / 1.296 GB, free: 128.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/1.424, allocations: 21.96 MB / 1.317 GB, free: 109.4 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.424, allocations: 9.719 kB / 1.317 GB, free: 109.4 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/1.429, allocations: 3.038 MB / 1.32 GB, free: 108 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/1.43, allocations: 467.4 kB / 1.321 GB, free: 107.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/1.431, allocations: 29.28 kB / 1.321 GB, free: 107.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008333/1.431, allocations: 69.69 kB / 1.321 GB, free: 107.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/1.432, allocations: 131.7 kB / 1.321 GB, free: 107.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.775e-05/1.432, allocations: 36.62 kB / 1.321 GB, free: 107.7 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001491/1.433, allocations: 0.9734 MB / 1.322 GB, free: 107.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.433, allocations: 1.406 kB / 1.322 GB, free: 107.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004114/1.438, allocations: 0.7874 MB / 1.323 GB, free: 107.2 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.0002827/1.438, allocations: 150.6 kB / 1.323 GB, free: 107.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006087/1.444, allocations: 4.041 MB / 1.327 GB, free: 104.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.444, allocations: 1.062 kB / 1.327 GB, free: 104.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003532/1.447, allocations: 2.747 MB / 1.33 GB, free: 102.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/1.451, allocations: 0.7229 MB / 1.33 GB, free: 102.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/1.463, allocations: 7.235 MB / 1.337 GB, free: 99.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/1.466, allocations: 3.109 MB / 1.34 GB, free: 97.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001334/1.467, allocations: 459.1 kB / 1.341 GB, free: 97.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/1.467, allocations: 111.9 kB / 1.341 GB, free: 97.16 MB / 1.014 GB Notification: Performance of SimCode: time 9.21e-07/1.467, allocations: 0 / 1.341 GB, free: 97.16 MB / 1.014 GB Notification: Performance of Templates: time 0.05317/1.521, allocations: 36.25 MB / 1.376 GB, free: 63.07 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