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.0008174/0.0008174, allocations: 91.84 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.005586/0.005586, allocations: 169.9 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.887/2.887, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000384/0.000384, allocations: 11.73 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3068, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03564/0.3425, allocations: 31.54 MB / 1.089 GB, free: 5.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01771/0.3602, allocations: 10.18 MB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002942/0.3632, allocations: 123.3 kB / 1.1 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002485/0.3657, allocations: 0.6318 MB / 1.1 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005714/0.3714, allocations: 1.743 MB / 1.102 GB, free: 9.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005298/0.3768, allocations: 1.76 MB / 1.104 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0128/0.3896, allocations: 10.57 MB / 1.114 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02048/0.4101, allocations: 12.08 MB / 1.126 GB, free: 0.5742 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00476/0.4149, allocations: 2.233 MB / 1.128 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005427/0.4203, allocations: 2.966 MB / 1.131 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.4217, allocations: 267.9 kB / 1.131 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.4259, allocations: 1.7 MB / 1.133 GB, free: 9.391 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003266/0.4292, allocations: 2.05 MB / 1.135 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004724/0.4339, allocations: 2.345 MB / 1.137 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.446, allocations: 9.657 MB / 1.146 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.321e-06/0.4461, allocations: 3.984 kB / 1.146 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4461, allocations: 0 / 1.146 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0003116/0.4464, allocations: 0 / 1.146 GB, free: 11.28 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01093/0.4573, allocations: 4.015 MB / 1.15 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.4574, allocations: 8.031 kB / 1.15 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006275/0.4637, allocations: 0.959 MB / 1.151 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006399/0.4701, allocations: 2.851 MB / 1.154 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000418/0.4705, allocations: 345.7 kB / 1.154 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001749/0.4723, allocations: 472.1 kB / 1.155 GB, free: 2.512 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02005/0.4924, allocations: 7.667 MB / 1.162 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002913/0.4927, allocations: 23.78 kB / 1.162 GB, free: 10.47 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/0.4941, allocations: 200 kB / 1.163 GB, free: 10.28 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004314/0.4945, allocations: 312.9 kB / 1.163 GB, free: 9.969 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01246/0.507, allocations: 5.71 MB / 1.168 GB, free: 4.242 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04633/0.5533, allocations: 35.14 MB / 1.203 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003064/0.5564, allocations: 2.157 MB / 1.205 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.5581, allocations: 1.261 MB / 1.206 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.946e-05/0.5582, allocations: 13.31 kB / 1.206 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/0.5583, allocations: 51.81 kB / 1.206 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=133): time 3.366e-06/0.5583, allocations: 3.938 kB / 1.206 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=136): time 0.01502/0.5733, allocations: 7.123 MB / 1.213 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.5734, allocations: 72.72 kB / 1.213 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.5755, allocations: 1.484 MB / 1.215 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.5756, allocations: 49.64 kB / 1.215 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.577, allocations: 2.004 MB / 1.217 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004678/0.5775, allocations: 481.1 kB / 1.217 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.5777, allocations: 153.6 kB / 1.217 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.5779, allocations: 301.1 kB / 1.218 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.5793, allocations: 0.9096 MB / 1.218 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.5811, allocations: 1.601 MB / 1.22 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003586/0.5846, allocations: 2.737 MB / 1.223 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.5847, allocations: 8 kB / 1.223 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006409/0.5911, allocations: 3.534 MB / 1.226 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.476e-05/0.5911, allocations: 12 kB / 1.226 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.5912, allocations: 28.09 kB / 1.226 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002743/0.5939, allocations: 0.8959 MB / 1.227 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5951, allocations: 351.4 kB / 1.227 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/0.617, allocations: 21.24 MB / 1.248 GB, free: 12.63 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.6186, allocations: 104 kB / 1.248 GB, free: 12.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/0.6188, allocations: 88 kB / 1.248 GB, free: 12.44 MB / 1.014 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.002951/0.6217, allocations: 1.611 MB / 1.25 GB, free: 10.82 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.6221, allocations: 205.6 kB / 1.25 GB, free: 10.62 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005477/0.6276, allocations: 2.986 MB / 1.253 GB, free: 7.586 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.6276, allocations: 16 kB / 1.253 GB, free: 7.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.817e-05/0.6276, allocations: 8 kB / 1.253 GB, free: 7.562 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.6277, allocations: 11.97 kB / 1.253 GB, free: 7.551 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6148/1.242, allocations: 7.327 MB / 1.26 GB, free: 182.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/1.243, allocations: 5.422 kB / 1.26 GB, free: 182.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.244, allocations: 177.5 kB / 1.26 GB, free: 182.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002742/1.246, allocations: 0.8214 MB / 1.261 GB, free: 182.5 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/1.247, allocations: 29.94 kB / 1.261 GB, free: 182.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01547/1.262, allocations: 20.32 MB / 1.281 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.262, allocations: 13.2 kB / 1.281 GB, free: 167.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005015/1.267, allocations: 3.024 MB / 1.284 GB, free: 167.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008738/1.268, allocations: 466.4 kB / 1.284 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/1.268, allocations: 29.95 kB / 1.284 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007894/1.269, allocations: 69.97 kB / 1.284 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004054/1.269, allocations: 123.3 kB / 1.285 GB, free: 167 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/1.27, allocations: 38.09 kB / 1.285 GB, free: 167 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001285/1.271, allocations: 0.9785 MB / 1.286 GB, free: 166.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.51e-07/1.271, allocations: 0 / 1.286 GB, free: 166.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002946/1.274, allocations: 0.7895 MB / 1.286 GB, free: 166.8 MB / 1.014 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.0002632/1.274, allocations: 146.5 kB / 1.287 GB, free: 166.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006187/1.28, allocations: 4.03 MB / 1.29 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/1.28, allocations: 0 / 1.29 GB, free: 165.3 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.004277/1.285, allocations: 2.751 MB / 1.293 GB, free: 163.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/1.29, allocations: 0.6627 MB / 1.294 GB, free: 163.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/1.303, allocations: 9.167 MB / 1.303 GB, free: 159.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004566/1.308, allocations: 3.11 MB / 1.306 GB, free: 158.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001858/1.31, allocations: 455.5 kB / 1.306 GB, free: 158.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/1.31, allocations: 115 kB / 1.306 GB, free: 158.4 MB / 1.014 GB Notification: Performance of SimCode: time 7.92e-07/1.31, allocations: 0 / 1.306 GB, free: 158.4 MB / 1.014 GB Notification: Performance of Templates: time 0.0582/1.368, allocations: 34.14 MB / 1.34 GB, free: 142.2 MB / 1.014 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/jenkins/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