Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003212/0.003212, allocations: 157.8 kB / 23.01 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.705/1.705, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.871/2.871, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002391/0.002391, allocations: 71.89 kB / 0.982 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.908/0.9104, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.00668/0.917, allocations: 6.567 MB / 1.16 GB, free: 29.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004519/0.9216, allocations: 3.055 MB / 1.163 GB, free: 27.19 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006065/0.9222, allocations: 44.91 kB / 1.163 GB, free: 27.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002304/0.9245, allocations: 0.9534 MB / 1.164 GB, free: 26.62 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.9259, allocations: 0.5221 MB / 1.165 GB, free: 26.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.9271, allocations: 451.4 kB / 1.165 GB, free: 26.09 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001403/0.9285, allocations: 1.227 MB / 1.166 GB, free: 25.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007632/0.9293, allocations: 0.5233 MB / 1.167 GB, free: 25.28 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007209/0.93, allocations: 497.8 kB / 1.167 GB, free: 25.08 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006672/0.9307, allocations: 0.5178 MB / 1.168 GB, free: 24.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.434e-05/0.9308, allocations: 65.41 kB / 1.168 GB, free: 24.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006608/0.9314, allocations: 344.8 kB / 1.168 GB, free: 24.79 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002496/0.9317, allocations: 323.5 kB / 1.169 GB, free: 24.64 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.932, allocations: 370.9 kB / 1.169 GB, free: 24.46 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.933, allocations: 1.246 MB / 1.17 GB, free: 24.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.933, allocations: 0 / 1.17 GB, free: 24.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.323e-06/0.933, allocations: 0 / 1.17 GB, free: 24.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.933, allocations: 0 / 1.17 GB, free: 24.02 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00169/0.9347, allocations: 1.113 MB / 1.171 GB, free: 23.3 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.9348, allocations: 11.22 kB / 1.171 GB, free: 23.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.9363, allocations: 241.2 kB / 1.172 GB, free: 23.24 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.9373, allocations: 0.5411 MB / 1.172 GB, free: 22.91 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.9374, allocations: 51.3 kB / 1.172 GB, free: 22.88 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.9375, allocations: 65.92 kB / 1.172 GB, free: 22.86 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.9392, allocations: 1.341 MB / 1.173 GB, free: 21.92 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.9392, allocations: 6.141 kB / 1.173 GB, free: 21.92 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.936e-05/0.9393, allocations: 30.42 kB / 1.173 GB, free: 21.9 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.9395, allocations: 82.97 kB / 1.174 GB, free: 21.89 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.9406, allocations: 0.7536 MB / 1.174 GB, free: 21.62 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004434/0.945, allocations: 4.528 MB / 1.179 GB, free: 18.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/0.9462, allocations: 0.5139 MB / 1.179 GB, free: 17.84 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000415/0.9466, allocations: 286.4 kB / 1.18 GB, free: 17.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.9467, allocations: 6 kB / 1.18 GB, free: 17.73 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.9467, allocations: 38.61 kB / 1.18 GB, free: 17.69 MB / 1.076 GB Notification: Performance of pre-optimization done (n=47): time 2.715e-06/0.9467, allocations: 1.375 kB / 1.18 GB, free: 17.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=48): time 0.004/0.9507, allocations: 1.689 MB / 1.181 GB, free: 17 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.9507, allocations: 58.06 kB / 1.181 GB, free: 16.94 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006922/0.9514, allocations: 0.516 MB / 1.182 GB, free: 16.69 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.9515, allocations: 35.89 kB / 1.182 GB, free: 16.65 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000258/0.9517, allocations: 421.7 kB / 1.182 GB, free: 16.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.9518, allocations: 180.7 kB / 1.182 GB, free: 16.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.952, allocations: 125.5 kB / 1.182 GB, free: 16.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.9521, allocations: 380.1 kB / 1.183 GB, free: 15.76 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.9525, allocations: 271.3 kB / 1.183 GB, free: 15.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.9531, allocations: 495.3 kB / 1.184 GB, free: 15.3 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009671/0.954, allocations: 0.8126 MB / 1.184 GB, free: 14.77 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.9541, allocations: 2.375 kB / 1.184 GB, free: 14.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001829/0.9559, allocations: 1.07 MB / 1.185 GB, free: 14.31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.9559, allocations: 16.59 kB / 1.185 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.9559, allocations: 6.25 kB / 1.185 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008555/0.9568, allocations: 278.5 kB / 1.186 GB, free: 14.22 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/0.9573, allocations: 129 kB / 1.186 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005191/0.9625, allocations: 6.594 MB / 1.192 GB, free: 8.625 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007097/0.9632, allocations: 40.67 kB / 1.192 GB, free: 8.613 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.192e-05/0.9632, allocations: 27.97 kB / 1.192 GB, free: 8.609 MB / 1.076 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0003601/0.9636, allocations: 252.9 kB / 1.193 GB, free: 8.426 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.957e-05/0.9637, allocations: 70.05 kB / 1.193 GB, free: 8.391 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.9652, allocations: 0.8782 MB / 1.194 GB, free: 8.004 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9652, allocations: 9.281 kB / 1.194 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.9652, allocations: 3.281 kB / 1.194 GB, free: 8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.9652, allocations: 6.859 kB / 1.194 GB, free: 7.996 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.9676, allocations: 1.525 MB / 1.195 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.9676, allocations: 1.953 kB / 1.195 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.9679, allocations: 64.59 kB / 1.195 GB, free: 7.227 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007447/0.9687, allocations: 270.5 kB / 1.195 GB, free: 7.137 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.9687, allocations: 7.75 kB / 1.195 GB, free: 7.133 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005124/0.9738, allocations: 6.583 MB / 1.202 GB, free: 1.574 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9738, allocations: 2.094 kB / 1.202 GB, free: 1.574 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.9754, allocations: 0.9735 MB / 1.203 GB, free: 1.059 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.9757, allocations: 110.1 kB / 1.203 GB, free: 1.004 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.9758, allocations: 21.92 kB / 1.203 GB, free: 0.9883 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.9762, allocations: 29.88 kB / 1.203 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.9763, allocations: 44.56 kB / 1.203 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.9763, allocations: 15.72 kB / 1.203 GB, free: 0.9688 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003802/0.9767, allocations: 342.6 kB / 1.203 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9767, allocations: 0 / 1.203 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009034/0.9776, allocations: 224.2 kB / 1.203 GB, free: 0.7891 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000127/0.9777, allocations: 117.8 kB / 1.204 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001845/0.9796, allocations: 1.244 MB / 1.205 GB, free: 15.95 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9796, allocations: 1.312 kB / 1.205 GB, free: 15.95 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.9809, allocations: 0.8549 MB / 1.206 GB, free: 15.36 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.9819, allocations: 216.2 kB / 1.206 GB, free: 15.27 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.9844, allocations: 1.349 MB / 1.207 GB, free: 14.55 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.985, allocations: 418.6 kB / 1.208 GB, free: 14.42 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003947/0.9854, allocations: 121.1 kB / 1.208 GB, free: 14.39 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.9855, allocations: 40.77 kB / 1.208 GB, free: 14.38 MB / 1.092 GB Notification: Performance of SimCode: time 1.092e-06/0.9855, allocations: 0 / 1.208 GB, free: 14.38 MB / 1.092 GB Notification: Performance of Templates: time 0.02409/1.01, allocations: 11.36 MB / 1.219 GB, free: 13.11 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.68619918008335]