Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005219/0.005219, allocations: 99.38 kB / 15.73 MB, free: 6.059 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.001176/0.001176, allocations: 193.1 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.826/2.826, allocations: 469.8 MB / 0.7425 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3086, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.7687/1.077, allocations: 32.67 MB / 1.253 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01601/1.093, allocations: 10.28 MB / 1.263 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003519/1.097, allocations: 148.2 kB / 1.263 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009044/1.106, allocations: 3.753 MB / 1.266 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006787/1.113, allocations: 1.954 MB / 1.268 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007653/1.12, allocations: 2.137 MB / 1.27 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01218/1.132, allocations: 7.324 MB / 1.278 GB, free: 9.156 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01427/1.147, allocations: 7.047 MB / 1.284 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00716/1.154, allocations: 3.231 MB / 1.288 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007136/1.161, allocations: 3.48 MB / 1.291 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002896/1.164, allocations: 0.6449 MB / 1.292 GB, free: 3.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006675/1.171, allocations: 1.78 MB / 1.293 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006184/1.177, allocations: 2.609 MB / 1.296 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01087/1.188, allocations: 2.898 MB / 1.299 GB, free: 144 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02035/1.208, allocations: 10.13 MB / 1.309 GB, free: 12.92 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/1.208, allocations: 1.188 kB / 1.309 GB, free: 12.92 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.384e-06/1.208, allocations: 0 / 1.309 GB, free: 12.92 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003917/1.208, allocations: 0 / 1.309 GB, free: 12.92 MB / 1.014 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.01999/1.228, allocations: 5.124 MB / 1.314 GB, free: 9.855 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.228, allocations: 12.69 kB / 1.314 GB, free: 9.852 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00813/1.237, allocations: 0.9791 MB / 1.315 GB, free: 9.363 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01107/1.248, allocations: 3.054 MB / 1.318 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007398/1.248, allocations: 349.1 kB / 1.318 GB, free: 7.207 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00328/1.252, allocations: 458.8 kB / 1.318 GB, free: 7.055 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02613/1.278, allocations: 7.674 MB / 1.326 GB, free: 2.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005878/1.278, allocations: 34.8 kB / 1.326 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003462/1.282, allocations: 200.3 kB / 1.326 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006592/1.283, allocations: 312.3 kB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/1.301, allocations: 5.709 MB / 1.332 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05525/1.356, allocations: 34.89 MB / 1.366 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003673/1.36, allocations: 2.01 MB / 1.368 GB, free: 13.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/1.362, allocations: 1.125 MB / 1.369 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/1.362, allocations: 20.2 kB / 1.369 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.195e-05/1.362, allocations: 47.31 kB / 1.369 GB, free: 12.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=133): time 5.07e-06/1.362, allocations: 0 / 1.369 GB, free: 12.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=136): time 0.01585/1.378, allocations: 7.117 MB / 1.376 GB, free: 5.168 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/1.378, allocations: 64.72 kB / 1.376 GB, free: 5.094 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/1.381, allocations: 1.488 MB / 1.378 GB, free: 3.559 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0002167/1.381, allocations: 45.7 kB / 1.378 GB, free: 3.508 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/1.382, allocations: 2.077 MB / 1.38 GB, free: 1.41 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006133/1.383, allocations: 0.4958 MB / 1.38 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006757/1.384, allocations: 343.4 kB / 1.38 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 9.4e-05/1.384, allocations: 305.1 kB / 1.381 GB, free: 272 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/1.385, allocations: 0.9135 MB / 1.382 GB, free: 15.35 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/1.387, allocations: 1.597 MB / 1.383 GB, free: 13.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/1.39, allocations: 2.733 MB / 1.386 GB, free: 10.4 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.992e-05/1.39, allocations: 8 kB / 1.386 GB, free: 10.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006356/1.397, allocations: 3.512 MB / 1.389 GB, free: 6.836 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/1.397, allocations: 16 kB / 1.389 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.646e-05/1.397, allocations: 23.94 kB / 1.389 GB, free: 6.797 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002641/1.399, allocations: 0.9115 MB / 1.39 GB, free: 5.848 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/1.401, allocations: 347.4 kB / 1.391 GB, free: 5.508 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.022/1.423, allocations: 23.12 MB / 1.413 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/1.425, allocations: 99.98 kB / 1.413 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004073/1.425, allocations: 91.98 kB / 1.413 GB, free: 12.52 MB / 1.107 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.003788/1.429, allocations: 1.606 MB / 1.415 GB, free: 10.9 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000647/1.429, allocations: 218.6 kB / 1.415 GB, free: 10.69 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005674/1.435, allocations: 2.966 MB / 1.418 GB, free: 7.676 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/1.435, allocations: 16 kB / 1.418 GB, free: 7.66 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.778e-05/1.435, allocations: 8 kB / 1.418 GB, free: 7.652 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/1.435, allocations: 7.969 kB / 1.418 GB, free: 7.645 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01553/1.451, allocations: 7.317 MB / 1.425 GB, free: 92 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.451, allocations: 4 kB / 1.425 GB, free: 88 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008725/1.452, allocations: 175.7 kB / 1.425 GB, free: 15.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/1.454, allocations: 0.8184 MB / 1.426 GB, free: 15.06 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001459/1.454, allocations: 28 kB / 1.426 GB, free: 15.03 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/1.474, allocations: 21.96 MB / 1.448 GB, free: 7.395 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/1.474, allocations: 16.05 kB / 1.448 GB, free: 7.379 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006026/1.48, allocations: 3.007 MB / 1.451 GB, free: 4.258 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00139/1.482, allocations: 475.6 kB / 1.451 GB, free: 3.773 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006106/1.482, allocations: 31.94 kB / 1.451 GB, free: 3.742 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.484, allocations: 75.91 kB / 1.451 GB, free: 3.668 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000437/1.484, allocations: 128.7 kB / 1.451 GB, free: 3.543 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.484, allocations: 39.94 kB / 1.451 GB, free: 3.504 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001856/1.486, allocations: 0.9717 MB / 1.452 GB, free: 2.508 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.486, allocations: 4 kB / 1.452 GB, free: 2.504 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003895/1.49, allocations: 0.7812 MB / 1.453 GB, free: 1.723 MB / 1.139 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.0003102/1.49, allocations: 157.4 kB / 1.453 GB, free: 1.562 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00597/1.496, allocations: 3.91 MB / 1.457 GB, free: 13.5 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/1.496, allocations: 0 / 1.457 GB, free: 13.5 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.003707/1.5, allocations: 2.67 MB / 1.46 GB, free: 10.68 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/1.504, allocations: 0.7304 MB / 1.46 GB, free: 9.973 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01577/1.52, allocations: 7.244 MB / 1.467 GB, free: 2.641 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005166/1.525, allocations: 3.105 MB / 1.47 GB, free: 15.5 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001579/1.526, allocations: 457.9 kB / 1.471 GB, free: 15.05 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/1.527, allocations: 119.4 kB / 1.471 GB, free: 14.93 MB / 1.17 GB Notification: Performance of SimCode: time 1.373e-06/1.527, allocations: 0 / 1.471 GB, free: 14.93 MB / 1.17 GB Notification: Performance of Templates: time 0.06703/1.594, allocations: 36.5 MB / 1.507 GB, free: 10.85 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches