Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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_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_latest_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_latest_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.001644/0.001645, allocations: 107.9 kB / 16.41 MB, free: 6.488 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.001661/0.001661, allocations: 183 kB / 17.34 MB, free: 5.766 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.426/1.426, 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.694/2.694, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001293, allocations: 59.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9393/0.9406, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03568/0.9763, allocations: 32.6 MB / 1.24 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01836/0.9947, allocations: 10.26 MB / 1.25 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003692/0.9984, allocations: 155.2 kB / 1.25 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.009946/1.008, allocations: 3.721 MB / 1.254 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006795/1.015, allocations: 1.854 MB / 1.256 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006621/1.022, allocations: 2.137 MB / 1.258 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01025/1.032, allocations: 7.325 MB / 1.265 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01448/1.047, allocations: 9.412 MB / 1.274 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005951/1.053, allocations: 3.229 MB / 1.277 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006126/1.059, allocations: 3.477 MB / 1.281 GB, free: 3.152 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002264/1.061, allocations: 0.6445 MB / 1.281 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00519/1.066, allocations: 1.771 MB / 1.283 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004314/1.071, allocations: 2.542 MB / 1.286 GB, free: 14.19 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.006557/1.077, allocations: 2.902 MB / 1.289 GB, free: 11.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/1.092, allocations: 10.11 MB / 1.298 GB, free: 1.133 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.092, allocations: 0 / 1.298 GB, free: 1.133 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.264e-06/1.092, allocations: 4 kB / 1.298 GB, free: 1.129 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003875/1.092, allocations: 0 / 1.298 GB, free: 1.129 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.01408/1.106, allocations: 4.99 MB / 1.303 GB, free: 12.07 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/1.106, allocations: 12.03 kB / 1.303 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0058/1.112, allocations: 0.959 MB / 1.304 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005819/1.118, allocations: 3.03 MB / 1.307 GB, free: 8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002646/1.118, allocations: 349.7 kB / 1.308 GB, free: 7.656 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/1.12, allocations: 464.2 kB / 1.308 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/1.134, allocations: 7.667 MB / 1.315 GB, free: 15.19 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/1.134, allocations: 27.78 kB / 1.315 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004941/1.134, allocations: 204 kB / 1.316 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003164/1.135, allocations: 316.9 kB / 1.316 GB, free: 14.65 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/1.145, allocations: 5.71 MB / 1.322 GB, free: 8.922 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03459/1.179, allocations: 34.83 MB / 1.356 GB, free: 2.883 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/1.182, allocations: 2.146 MB / 1.358 GB, free: 0.6211 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/1.183, allocations: 1.268 MB / 1.359 GB, free: 15.34 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 6.938e-05/1.183, allocations: 21.22 kB / 1.359 GB, free: 15.33 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/1.184, allocations: 51.81 kB / 1.359 GB, free: 15.27 MB / 1.092 GB Notification: Performance of pre-optimization done (n=133): time 3.236e-06/1.184, allocations: 0 / 1.359 GB, free: 15.27 MB / 1.092 GB Notification: Performance of matching and sorting (n=136): time 0.01342/1.197, allocations: 7.081 MB / 1.366 GB, free: 7.918 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.197, allocations: 64.72 kB / 1.366 GB, free: 7.844 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001911/1.199, allocations: 1.484 MB / 1.367 GB, free: 6.312 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/1.199, allocations: 53.64 kB / 1.367 GB, free: 6.254 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001235/1.2, allocations: 2.004 MB / 1.369 GB, free: 4.223 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004469/1.201, allocations: 489 kB / 1.37 GB, free: 3.738 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004928/1.201, allocations: 351.1 kB / 1.37 GB, free: 3.391 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/1.201, allocations: 301.1 kB / 1.371 GB, free: 3.094 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/1.203, allocations: 0.9135 MB / 1.371 GB, free: 2.18 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/1.204, allocations: 1.601 MB / 1.373 GB, free: 272 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003101/1.207, allocations: 2.729 MB / 1.376 GB, free: 13.22 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-05/1.208, allocations: 8 kB / 1.376 GB, free: 13.21 MB / 1.107 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006013/1.214, allocations: 3.538 MB / 1.379 GB, free: 9.629 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/1.214, allocations: 18.03 kB / 1.379 GB, free: 9.613 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/1.214, allocations: 20 kB / 1.379 GB, free: 9.594 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/1.216, allocations: 0.908 MB / 1.38 GB, free: 8.652 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.217, allocations: 347.4 kB / 1.38 GB, free: 8.312 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02023/1.238, allocations: 23.09 MB / 1.403 GB, free: 15.55 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/1.24, allocations: 103.9 kB / 1.403 GB, free: 15.45 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/1.24, allocations: 91.98 kB / 1.403 GB, free: 15.36 MB / 1.139 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.00259/1.242, allocations: 1.606 MB / 1.405 GB, free: 13.74 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/1.243, allocations: 209.5 kB / 1.405 GB, free: 13.53 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005186/1.248, allocations: 2.99 MB / 1.408 GB, free: 10.49 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.248, allocations: 12 kB / 1.408 GB, free: 10.48 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/1.248, allocations: 15.98 kB / 1.408 GB, free: 10.46 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.453e-05/1.248, allocations: 7.922 kB / 1.408 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/1.26, allocations: 7.337 MB / 1.415 GB, free: 2.879 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.26, allocations: 7.984 kB / 1.415 GB, free: 2.871 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/1.261, allocations: 171.7 kB / 1.415 GB, free: 2.703 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/1.263, allocations: 0.8219 MB / 1.416 GB, free: 1.844 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.263, allocations: 32 kB / 1.416 GB, free: 1.812 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02078/1.284, allocations: 21.95 MB / 1.437 GB, free: 10.18 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.284, allocations: 7.938 kB / 1.437 GB, free: 10.17 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005686/1.29, allocations: 3.025 MB / 1.44 GB, free: 7.035 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.291, allocations: 458.5 kB / 1.441 GB, free: 6.566 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002343/1.291, allocations: 31.84 kB / 1.441 GB, free: 6.535 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008305/1.292, allocations: 75.84 kB / 1.441 GB, free: 6.461 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004171/1.293, allocations: 128.7 kB / 1.441 GB, free: 6.336 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.896e-05/1.293, allocations: 36 kB / 1.441 GB, free: 6.301 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001482/1.294, allocations: 0.9795 MB / 1.442 GB, free: 5.297 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.81e-07/1.294, allocations: 0 / 1.442 GB, free: 5.297 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00335/1.297, allocations: 0.7891 MB / 1.443 GB, free: 4.508 MB / 1.17 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.0002804/1.298, allocations: 139.1 kB / 1.443 GB, free: 4.363 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.005705/1.303, allocations: 4.04 MB / 1.447 GB, free: 172 kB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/1.304, allocations: 4 kB / 1.447 GB, free: 168 kB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003689/1.307, allocations: 2.728 MB / 1.45 GB, free: 13.27 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00365/1.311, allocations: 0.7269 MB / 1.45 GB, free: 12.57 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.326, allocations: 7.736 MB / 1.458 GB, free: 4.746 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004303/1.33, allocations: 3.179 MB / 1.461 GB, free: 1.535 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005537/1.331, allocations: 127.4 kB / 1.461 GB, free: 1.41 MB / 1.186 GB Notification: Performance of SimCode: time 9.12e-07/1.331, allocations: 0 / 1.461 GB, free: 1.41 MB / 1.186 GB Notification: Performance of Templates: time 0.9583/2.289, allocations: 321.7 MB / 1.775 GB, free: 124.4 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches