Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 108.7 kB / 16.41 MB, free: 6.473 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.001755/0.001755, allocations: 190.6 kB / 17.35 MB, free: 5.711 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.635/2.635, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 67.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9626/0.9641, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04066/1.005, allocations: 33.34 MB / 1.241 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02637/1.031, allocations: 14.82 MB / 1.255 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004885/1.036, allocations: 155.2 kB / 1.256 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01008/1.046, allocations: 3.647 MB / 1.259 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/1.057, allocations: 2.893 MB / 1.262 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007166/1.065, allocations: 2.328 MB / 1.264 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01395/1.078, allocations: 8.82 MB / 1.273 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0169/1.095, allocations: 9.562 MB / 1.282 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008337/1.104, allocations: 4.016 MB / 1.286 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007692/1.112, allocations: 4.034 MB / 1.29 GB, free: 9.676 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002958/1.115, allocations: 0.7148 MB / 1.291 GB, free: 8.961 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005411/1.12, allocations: 1.72 MB / 1.292 GB, free: 7.238 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005807/1.126, allocations: 2.83 MB / 1.295 GB, free: 4.402 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00908/1.135, allocations: 3.388 MB / 1.299 GB, free: 1 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01693/1.152, allocations: 11.19 MB / 1.309 GB, free: 5.777 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.152, allocations: 4 kB / 1.309 GB, free: 5.773 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.565e-06/1.152, allocations: 0 / 1.309 GB, free: 5.773 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0004559/1.152, allocations: 0 / 1.309 GB, free: 5.773 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01757/1.17, allocations: 5.983 MB / 1.315 GB, free: 15.71 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/1.17, allocations: 8.031 kB / 1.315 GB, free: 15.7 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008338/1.178, allocations: 1.142 MB / 1.316 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009037/1.188, allocations: 3.516 MB / 1.32 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004618/1.188, allocations: 374.4 kB / 1.32 GB, free: 10.59 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002231/1.19, allocations: 500 kB / 1.321 GB, free: 10.11 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/1.21, allocations: 8.005 MB / 1.329 GB, free: 1.82 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/1.21, allocations: 19.78 kB / 1.329 GB, free: 1.801 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001459/1.212, allocations: 216 kB / 1.329 GB, free: 1.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001161/1.213, allocations: 441.5 kB / 1.329 GB, free: 1.156 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/1.227, allocations: 6.081 MB / 1.335 GB, free: 11.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04891/1.276, allocations: 34.89 MB / 1.369 GB, free: 4.988 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/1.279, allocations: 2.028 MB / 1.371 GB, free: 2.957 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002726/1.281, allocations: 1.869 MB / 1.373 GB, free: 1.086 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/1.282, allocations: 18 kB / 1.373 GB, free: 1.07 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.871e-05/1.282, allocations: 68.48 kB / 1.373 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of pre-optimization done (n=171): time 4.588e-06/1.282, allocations: 0 / 1.373 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of matching and sorting (n=276): time 0.1474/1.429, allocations: 38.89 MB / 1.411 GB, free: 10 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/1.429, allocations: 85.52 kB / 1.411 GB, free: 9.906 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004076/1.433, allocations: 2.278 MB / 1.413 GB, free: 7.613 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004869/1.434, allocations: 73.7 kB / 1.413 GB, free: 7.535 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001806/1.436, allocations: 2.272 MB / 1.416 GB, free: 5.234 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.001204/1.437, allocations: 0.9357 MB / 1.417 GB, free: 4.285 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/1.438, allocations: 0.5061 MB / 1.417 GB, free: 3.77 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001177/1.439, allocations: 305.1 kB / 1.417 GB, free: 3.469 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/1.442, allocations: 1.977 MB / 1.419 GB, free: 1.488 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003583/1.445, allocations: 2.606 MB / 1.422 GB, free: 14.64 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007039/1.452, allocations: 4.933 MB / 1.427 GB, free: 9.43 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/1.452, allocations: 4 kB / 1.427 GB, free: 9.426 MB / 1.154 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01574/1.468, allocations: 7.758 MB / 1.434 GB, free: 1.598 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/1.468, allocations: 12 kB / 1.434 GB, free: 1.586 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.965e-05/1.468, allocations: 16 kB / 1.434 GB, free: 1.57 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009642/1.478, allocations: 3.214 MB / 1.437 GB, free: 14.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001778/1.48, allocations: 399.4 kB / 1.438 GB, free: 13.95 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04873/1.529, allocations: 33.88 MB / 1.471 GB, free: 11.21 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/1.532, allocations: 159.8 kB / 1.471 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005842/1.532, allocations: 108 kB / 1.471 GB, free: 10.95 MB / 1.201 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003653/1.536, allocations: 1.798 MB / 1.473 GB, free: 9.145 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.537, allocations: 332.1 kB / 1.473 GB, free: 8.816 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/1.552, allocations: 7.36 MB / 1.48 GB, free: 1.375 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.316e-05/1.552, allocations: 15.95 kB / 1.48 GB, free: 1.359 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/1.552, allocations: 0 / 1.48 GB, free: 1.359 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/1.554, allocations: 0.8055 MB / 1.481 GB, free: 0.5312 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009409/1.555, allocations: 48 kB / 1.481 GB, free: 496 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.558, allocations: 135.8 kB / 1.481 GB, free: 360 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007989/1.558, allocations: 329.5 kB / 1.482 GB, free: 28 kB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01847/1.577, allocations: 7.953 MB / 1.489 GB, free: 8.004 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0105/1.587, allocations: 6.974 MB / 1.496 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002994/1.59, allocations: 2.273 MB / 1.498 GB, free: 14.66 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002896/1.593, allocations: 1.525 MB / 1.5 GB, free: 13.13 MB / 1.232 GB Notification: Performance of Backend: time 7.41e-07/1.593, allocations: 0 / 1.5 GB, free: 13.13 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01288/1.606, allocations: 5.882 MB / 1.506 GB, free: 7.16 MB / 1.232 GB Notification: Performance of SimCode: time 0.02026/1.627, allocations: 11.26 MB / 1.517 GB, free: 11.91 MB / 1.248 GB Notification: Performance of Templates: time 0.7517/2.378, allocations: 81.46 MB / 1.596 GB, free: 315.5 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches