Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 196.7 kB / 16.63 MB, free: 6.609 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.488/1.488, allocations: 222.9 MB / 240.3 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.513/2.513, allocations: 390.3 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 62.38 kB / 0.9509 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3298, allocations: 140.4 MB / 1.088 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01728/0.3471, allocations: 14.77 MB / 1.102 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.3633, allocations: 10.34 MB / 1.113 GB, free: 8.23 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.3651, allocations: 55.62 kB / 1.113 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004909/0.3701, allocations: 1.693 MB / 1.114 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006707/0.3768, allocations: 1.827 MB / 1.116 GB, free: 4.652 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.3797, allocations: 0.7521 MB / 1.117 GB, free: 3.902 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.004719/0.3844, allocations: 2.754 MB / 1.119 GB, free: 1.137 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002083/0.3865, allocations: 1.427 MB / 1.121 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002397/0.3889, allocations: 1.496 MB / 1.122 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001788/0.3907, allocations: 1.167 MB / 1.123 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002401/0.391, allocations: 160 kB / 1.124 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.3924, allocations: 0.7799 MB / 1.124 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005504/0.393, allocations: 0.5998 MB / 1.125 GB, free: 11.46 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009614/0.394, allocations: 0.9639 MB / 1.126 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002791/0.3968, allocations: 2.765 MB / 1.129 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3968, allocations: 0 / 1.129 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3968, allocations: 3.938 kB / 1.129 GB, free: 7.719 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.492e-05/0.3968, allocations: 4 kB / 1.129 GB, free: 7.715 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003745/0.4006, allocations: 2.17 MB / 1.131 GB, free: 5.488 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4006, allocations: 8.031 kB / 1.131 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/0.4129, allocations: 2.108 MB / 1.133 GB, free: 3.367 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002849/0.4158, allocations: 1.307 MB / 1.134 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.598e-05/0.4159, allocations: 82.69 kB / 1.134 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.4162, allocations: 120.1 kB / 1.134 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00598/0.4222, allocations: 2.67 MB / 1.137 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.905e-05/0.4223, allocations: 7.844 kB / 1.137 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/0.4225, allocations: 59.97 kB / 1.137 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007211/0.4232, allocations: 190.1 kB / 1.137 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00793/0.4311, allocations: 2.795 MB / 1.14 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.4462, allocations: 10.46 MB / 1.15 GB, free: 0.8789 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006931/0.4532, allocations: 2.34 MB / 1.152 GB, free: 14.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003218/0.4564, allocations: 1.284 MB / 1.154 GB, free: 13.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.76e-05/0.4565, allocations: 9 kB / 1.154 GB, free: 13.22 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.4566, allocations: 43.56 kB / 1.154 GB, free: 13.17 MB / 0.92 GB Notification: Performance of pre-optimization done (n=89): time 2.845e-06/0.4566, allocations: 3.938 kB / 1.154 GB, free: 13.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=153): time 0.06216/0.5187, allocations: 16.49 MB / 1.17 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.5189, allocations: 64.72 kB / 1.17 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001816/0.5207, allocations: 1.18 MB / 1.171 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002924/0.521, allocations: 49.7 kB / 1.171 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/0.5215, allocations: 0.7398 MB / 1.172 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/0.5221, allocations: 0.5236 MB / 1.172 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005554/0.5226, allocations: 291.4 kB / 1.172 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.5228, allocations: 305.1 kB / 1.173 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/0.5264, allocations: 1.51 MB / 1.174 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003821/0.5302, allocations: 1.78 MB / 1.176 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007609/0.5379, allocations: 3.369 MB / 1.179 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.5379, allocations: 0 / 1.179 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0138/0.5517, allocations: 5.272 MB / 1.184 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.5518, allocations: 13.86 kB / 1.184 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.5518, allocations: 8.875 kB / 1.184 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00704/0.5589, allocations: 1.876 MB / 1.186 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.561, allocations: 411.3 kB / 1.187 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03004/0.5911, allocations: 24.14 MB / 1.21 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.5941, allocations: 303.5 kB / 1.211 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/0.5944, allocations: 68.03 kB / 1.211 GB, free: 1.219 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009646/0.5953, allocations: 467.2 kB / 1.211 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000392/0.5957, allocations: 173.9 kB / 1.211 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01409/0.6098, allocations: 5.32 MB / 1.216 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-05/0.6099, allocations: 12.47 kB / 1.216 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.521e-05/0.61, allocations: 20 kB / 1.216 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.61, allocations: 11.97 kB / 1.216 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01816/0.6281, allocations: 7.415 MB / 1.224 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.831e-05/0.6282, allocations: 4 kB / 1.224 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/0.6301, allocations: 355.3 kB / 1.224 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006384/0.6365, allocations: 1.712 MB / 1.226 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/0.6367, allocations: 43.97 kB / 1.226 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02916/0.6659, allocations: 23.31 MB / 1.249 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.207e-05/0.6659, allocations: 4 kB / 1.249 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01401/0.6799, allocations: 4.895 MB / 1.253 GB, free: 4.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/0.681, allocations: 490.7 kB / 1.254 GB, free: 3.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004022/0.6814, allocations: 28 kB / 1.254 GB, free: 3.562 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/0.6839, allocations: 319.5 kB / 1.254 GB, free: 3.25 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000582/0.6844, allocations: 153 kB / 1.254 GB, free: 3.098 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/0.6846, allocations: 55.97 kB / 1.254 GB, free: 3.043 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001671/0.6863, allocations: 0.7899 MB / 1.255 GB, free: 2.254 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.4e-07/0.6863, allocations: 0 / 1.255 GB, free: 2.254 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00283/0.6892, allocations: 0.6562 MB / 1.256 GB, free: 1.598 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003896/0.6896, allocations: 141.1 kB / 1.256 GB, free: 1.453 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.6766/1.366, allocations: 5.14 MB / 1.261 GB, free: 157.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.366, allocations: 0.9375 kB / 1.261 GB, free: 157.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008205/1.374, allocations: 3.357 MB / 1.264 GB, free: 156.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/1.378, allocations: 0.5576 MB / 1.265 GB, free: 156.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.389, allocations: 4.294 MB / 1.269 GB, free: 155.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001892/1.391, allocations: 1.57 MB / 1.27 GB, free: 154.8 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001898/1.393, allocations: 382.5 kB / 1.271 GB, free: 154.7 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/1.393, allocations: 108.4 kB / 1.271 GB, free: 154.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.001e-06/1.393, allocations: 0 / 1.271 GB, free: 154.7 MB / 1.014 GB Notification: Performance of Templates: time 0.07772/1.471, allocations: 44.87 MB / 1.315 GB, free: 136.9 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches