Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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_9_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_9_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.007063/0.007063, allocations: 101.6 kB / 15.73 MB, free: 6.035 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.001625/0.001625, allocations: 186.1 kB / 16.67 MB, free: 5.969 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.47/1.47, 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.734/2.734, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.5 kB / 0.9509 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3665, allocations: 140.4 MB / 1.088 GB, free: 1.637 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03869/0.4052, allocations: 30.76 MB / 1.118 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02882/0.4341, allocations: 13.59 MB / 1.131 GB, free: 5.137 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005109/0.4393, allocations: 139.3 kB / 1.131 GB, free: 5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01034/0.4497, allocations: 3.201 MB / 1.135 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01153/0.4612, allocations: 2.759 MB / 1.137 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.008036/0.4693, allocations: 2.015 MB / 1.139 GB, free: 13 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01407/0.4834, allocations: 7.648 MB / 1.147 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01534/0.4988, allocations: 8.244 MB / 1.155 GB, free: 12.97 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008762/0.5076, allocations: 3.467 MB / 1.158 GB, free: 9.496 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007746/0.5154, allocations: 3.376 MB / 1.161 GB, free: 6.109 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.003358/0.5188, allocations: 0.5938 MB / 1.162 GB, free: 5.516 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006593/0.5254, allocations: 1.498 MB / 1.163 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00537/0.5308, allocations: 2.362 MB / 1.166 GB, free: 1.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.008236/0.5391, allocations: 2.89 MB / 1.169 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01547/0.5546, allocations: 9.453 MB / 1.178 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.088e-06/0.5546, allocations: 3.938 kB / 1.178 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5546, allocations: 3.938 kB / 1.178 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003971/0.555, allocations: 0 / 1.178 GB, free: 5.258 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01663/0.5717, allocations: 5.132 MB / 1.183 GB, free: 48 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.5718, allocations: 12.03 kB / 1.183 GB, free: 36 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007433/0.5792, allocations: 0.998 MB / 1.184 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007883/0.5871, allocations: 3.071 MB / 1.187 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002705/0.5874, allocations: 312.8 kB / 1.187 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.5892, allocations: 420 kB / 1.187 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.606, allocations: 6.807 MB / 1.194 GB, free: 4.059 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.6062, allocations: 23.78 kB / 1.194 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005078/0.6067, allocations: 180 kB / 1.194 GB, free: 3.859 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000817/0.6075, allocations: 372 kB / 1.195 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.6187, allocations: 5.11 MB / 1.2 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03917/0.6579, allocations: 30.52 MB / 1.229 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.6603, allocations: 1.393 MB / 1.231 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.6621, allocations: 1.328 MB / 1.232 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-05/0.6622, allocations: 13.31 kB / 1.232 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.913e-05/0.6623, allocations: 47.88 kB / 1.232 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 3.106e-06/0.6623, allocations: 7.938 kB / 1.232 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199): time 0.0832/0.7455, allocations: 23.08 MB / 1.255 GB, free: 3.066 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.7456, allocations: 69.41 kB / 1.255 GB, free: 2.988 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003484/0.7491, allocations: 2.058 MB / 1.257 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003956/0.7495, allocations: 61.7 kB / 1.257 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.7471/1.497, allocations: 2.009 MB / 1.259 GB, free: 154.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000857/1.498, allocations: 0.6833 MB / 1.26 GB, free: 154.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008943/1.498, allocations: 405.1 kB / 1.26 GB, free: 154.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 4.944e-05/1.499, allocations: 307.7 kB / 1.26 GB, free: 154.2 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002593/1.501, allocations: 1.433 MB / 1.262 GB, free: 154.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002642/1.504, allocations: 2.01 MB / 1.264 GB, free: 153.1 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005404/1.509, allocations: 3.693 MB / 1.267 GB, free: 151.1 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.017e-05/1.509, allocations: 4.875 kB / 1.267 GB, free: 151.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.0127/1.522, allocations: 5.663 MB / 1.273 GB, free: 148.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/1.522, allocations: 15.03 kB / 1.273 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/1.522, allocations: 20.31 kB / 1.273 GB, free: 148.7 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00696/1.529, allocations: 2.084 MB / 1.275 GB, free: 148.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00167/1.531, allocations: 379.2 kB / 1.275 GB, free: 148.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03496/1.566, allocations: 38.43 MB / 1.313 GB, free: 116.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/1.569, allocations: 126.2 kB / 1.313 GB, free: 116.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/1.569, allocations: 92.62 kB / 1.313 GB, free: 116.7 MB / 1.014 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.003425/1.572, allocations: 1.501 MB / 1.314 GB, free: 116 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007542/1.573, allocations: 279.2 kB / 1.315 GB, free: 115.9 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01017/1.583, allocations: 5.22 MB / 1.32 GB, free: 113.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.693e-05/1.583, allocations: 23.5 kB / 1.32 GB, free: 113.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.628e-05/1.583, allocations: 16.97 kB / 1.32 GB, free: 113.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.491e-05/1.583, allocations: 12.08 kB / 1.32 GB, free: 113.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01613/1.6, allocations: 9.669 MB / 1.329 GB, free: 109.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/1.6, allocations: 3.938 kB / 1.329 GB, free: 109.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007467/1.6, allocations: 218 kB / 1.329 GB, free: 109.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00519/1.606, allocations: 1.847 MB / 1.331 GB, free: 108.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/1.606, allocations: 39.69 kB / 1.331 GB, free: 108.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/1.633, allocations: 37.44 MB / 1.368 GB, free: 73.35 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.423e-06/1.633, allocations: 16 kB / 1.368 GB, free: 73.34 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007645/1.641, allocations: 4.916 MB / 1.373 GB, free: 68.26 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001422/1.642, allocations: 0.6108 MB / 1.373 GB, free: 67.62 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/1.642, allocations: 47.98 kB / 1.373 GB, free: 67.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.644, allocations: 133.6 kB / 1.373 GB, free: 67.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006811/1.644, allocations: 193.5 kB / 1.374 GB, free: 67.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.645, allocations: 56 kB / 1.374 GB, free: 67.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001697/1.646, allocations: 1.378 MB / 1.375 GB, free: 65.82 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.21e-07/1.646, allocations: 0 / 1.375 GB, free: 65.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003908/1.65, allocations: 1.047 MB / 1.376 GB, free: 64.77 MB / 1.014 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.000289/1.65, allocations: 177.2 kB / 1.376 GB, free: 64.59 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00825/1.659, allocations: 6.289 MB / 1.382 GB, free: 58.09 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.659, allocations: 0 / 1.382 GB, free: 58.09 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005371/1.664, allocations: 4.402 MB / 1.387 GB, free: 53.47 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003626/1.668, allocations: 0.9795 MB / 1.388 GB, free: 52.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/1.68, allocations: 8.06 MB / 1.395 GB, free: 44.44 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002557/1.682, allocations: 3.127 MB / 1.398 GB, free: 41.28 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001653/1.684, allocations: 0.516 MB / 1.399 GB, free: 40.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/1.684, allocations: 147.4 kB / 1.399 GB, free: 40.62 MB / 1.014 GB Notification: Performance of SimCode: time 5.71e-07/1.684, allocations: 0 / 1.399 GB, free: 40.62 MB / 1.014 GB Notification: Performance of Templates: time 0.0875/1.772, allocations: 58.5 MB / 1.456 GB, free: 14.98 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches