Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.008604/0.008604, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.534/1.534, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.863/2.863, allocations: 462.6 MB / 0.7363 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 10.09 kB / 0.9027 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.4144, allocations: 159.6 MB / 1.059 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03239/0.4468, allocations: 29.73 MB / 1.088 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02276/0.4696, allocations: 13.4 MB / 1.101 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004048/0.4737, allocations: 123.2 kB / 1.101 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002465/0.4762, allocations: 0.6512 MB / 1.101 GB, free: 8.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008341/0.4846, allocations: 2.482 MB / 1.104 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005233/0.4898, allocations: 1.711 MB / 1.106 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01418/0.504, allocations: 10.42 MB / 1.116 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0164/0.5205, allocations: 10.19 MB / 1.126 GB, free: 36 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.5261, allocations: 2.58 MB / 1.128 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00557/0.5317, allocations: 2.942 MB / 1.131 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001086/0.5329, allocations: 247.9 kB / 1.131 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003584/0.5365, allocations: 1.38 MB / 1.133 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002624/0.5391, allocations: 1.925 MB / 1.135 GB, free: 6.938 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004364/0.5435, allocations: 2.384 MB / 1.137 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01098/0.5545, allocations: 9.017 MB / 1.146 GB, free: 11.49 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5545, allocations: 4 kB / 1.146 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5545, allocations: 0 / 1.146 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003078/0.5548, allocations: 0 / 1.146 GB, free: 11.48 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01092/0.5658, allocations: 4.15 MB / 1.15 GB, free: 7.258 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.803e-05/0.5658, allocations: 11.97 kB / 1.15 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006841/0.5727, allocations: 1.01 MB / 1.151 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006628/0.5794, allocations: 2.888 MB / 1.154 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.5797, allocations: 320.8 kB / 1.154 GB, free: 2.945 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001332/0.581, allocations: 420 kB / 1.154 GB, free: 2.535 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/0.598, allocations: 6.791 MB / 1.161 GB, free: 11.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002581/0.5983, allocations: 15.84 kB / 1.161 GB, free: 11.43 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/0.5997, allocations: 188 kB / 1.161 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001071/0.6008, allocations: 368 kB / 1.161 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.6131, allocations: 5.114 MB / 1.166 GB, free: 5.754 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05216/0.6653, allocations: 30.8 MB / 1.197 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.6683, allocations: 1.383 MB / 1.198 GB, free: 2.793 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002298/0.6707, allocations: 1.335 MB / 1.199 GB, free: 1.461 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001629/0.6709, allocations: 17.31 kB / 1.199 GB, free: 1.445 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/0.6709, allocations: 51.86 kB / 1.199 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=130): time 4.248e-06/0.671, allocations: 0 / 1.199 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of matching and sorting (n=199): time 0.08914/0.7601, allocations: 22.81 MB / 1.222 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.7602, allocations: 73.41 kB / 1.222 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004015/0.7642, allocations: 2.058 MB / 1.224 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003456/0.7646, allocations: 57.7 kB / 1.224 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.7662, allocations: 2.014 MB / 1.226 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009562/0.7672, allocations: 0.6777 MB / 1.226 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004897/0.7677, allocations: 182.3 kB / 1.226 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7679, allocations: 305.1 kB / 1.227 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002715/0.7706, allocations: 1.43 MB / 1.228 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/0.7736, allocations: 2.01 MB / 1.23 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005703/0.7794, allocations: 3.708 MB / 1.234 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.031e-05/0.7794, allocations: 4 kB / 1.234 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01224/0.7916, allocations: 5.649 MB / 1.239 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.7917, allocations: 19.94 kB / 1.239 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.7918, allocations: 16 kB / 1.239 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00686/0.7986, allocations: 2.084 MB / 1.241 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.8002, allocations: 379.3 kB / 1.242 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7052/1.505, allocations: 35.54 MB / 1.276 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/1.508, allocations: 127.7 kB / 1.277 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002871/1.508, allocations: 90 kB / 1.277 GB, free: 150.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (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.003081/1.512, allocations: 1.503 MB / 1.278 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006847/1.512, allocations: 285.2 kB / 1.278 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01183/1.524, allocations: 5.218 MB / 1.283 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.902e-05/1.524, allocations: 19.19 kB / 1.283 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.813e-05/1.524, allocations: 21.09 kB / 1.283 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.544e-05/1.524, allocations: 10.05 kB / 1.283 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01905/1.543, allocations: 9.674 MB / 1.293 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.16e-05/1.543, allocations: 8.312 kB / 1.293 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009673/1.544, allocations: 218.1 kB / 1.293 GB, free: 144.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006201/1.551, allocations: 1.855 MB / 1.295 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005751/1.551, allocations: 38.94 kB / 1.295 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03274/1.584, allocations: 34.55 MB / 1.329 GB, free: 115.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.584, allocations: 7.844 kB / 1.329 GB, free: 115.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008815/1.593, allocations: 4.909 MB / 1.334 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/1.594, allocations: 0.6219 MB / 1.334 GB, free: 111.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006553/1.595, allocations: 43.89 kB / 1.334 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/1.597, allocations: 129.8 kB / 1.334 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006643/1.597, allocations: 189.2 kB / 1.334 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.598, allocations: 52.22 kB / 1.335 GB, free: 111.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002389/1.6, allocations: 1.382 MB / 1.336 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.6, allocations: 0 / 1.336 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004276/1.604, allocations: 1.049 MB / 1.337 GB, free: 110.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003162/1.605, allocations: 173.2 kB / 1.337 GB, free: 110.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008649/1.613, allocations: 6.27 MB / 1.343 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/1.613, allocations: 2.906 kB / 1.343 GB, free: 106.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005851/1.619, allocations: 4.407 MB / 1.348 GB, free: 102.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007369/1.627, allocations: 0.9129 MB / 1.348 GB, free: 101.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01469/1.641, allocations: 10.07 MB / 1.358 GB, free: 91.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002701/1.644, allocations: 3.127 MB / 1.361 GB, free: 88.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002082/1.646, allocations: 0.5159 MB / 1.362 GB, free: 88.06 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003323/1.646, allocations: 151.4 kB / 1.362 GB, free: 87.92 MB / 0.9981 GB Notification: Performance of SimCode: time 1.543e-06/1.646, allocations: 0 / 1.362 GB, free: 87.92 MB / 0.9981 GB Notification: Performance of Templates: time 0.0875/1.734, allocations: 57.04 MB / 1.418 GB, free: 31.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches