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.001607/0.001607, allocations: 101.1 kB / 19.71 MB, free: 2.152 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.00191/0.00191, allocations: 207.9 kB / 23 MB, free: 4.965 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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 3.329/3.329, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 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.002158/0.002158, allocations: 70.2 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4015, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01158/0.4131, allocations: 6.56 MB / 1.333 GB, free: 10.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006155/0.4192, allocations: 3.075 MB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000726/0.4199, allocations: 39.62 kB / 1.337 GB, free: 7.277 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.4228, allocations: 0.9525 MB / 1.337 GB, free: 6.324 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.4244, allocations: 0.5128 MB / 1.338 GB, free: 5.809 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.4257, allocations: 451 kB / 1.338 GB, free: 5.367 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.4275, allocations: 1.232 MB / 1.34 GB, free: 4.129 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009588/0.4284, allocations: 0.5451 MB / 1.34 GB, free: 3.574 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008531/0.4293, allocations: 498.2 kB / 1.341 GB, free: 3.086 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008225/0.4301, allocations: 0.5448 MB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.4302, allocations: 68 kB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007648/0.431, allocations: 351.2 kB / 1.342 GB, free: 2.129 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004046/0.4314, allocations: 315.1 kB / 1.342 GB, free: 1.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004412/0.4318, allocations: 382.2 kB / 1.342 GB, free: 1.445 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.4335, allocations: 1.234 MB / 1.343 GB, free: 212 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4335, allocations: 0 / 1.343 GB, free: 212 kB / 1.029 GB Notification: Performance of FrontEnd: time 2.524e-06/0.4335, allocations: 4 kB / 1.343 GB, free: 208 kB / 1.029 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.4335, allocations: 0 / 1.343 GB, free: 208 kB / 1.029 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.002317/0.4358, allocations: 1.119 MB / 1.345 GB, free: 15.05 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.4359, allocations: 8.031 kB / 1.345 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.4376, allocations: 240.1 kB / 1.345 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.4387, allocations: 0.5321 MB / 1.345 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.363e-05/0.4388, allocations: 49.67 kB / 1.345 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.4389, allocations: 68.36 kB / 1.345 GB, free: 14.13 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.441, allocations: 1.34 MB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.441, allocations: 3.953 kB / 1.347 GB, free: 12.61 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.129e-05/0.4411, allocations: 31.98 kB / 1.347 GB, free: 12.58 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/0.4412, allocations: 89.19 kB / 1.347 GB, free: 12.5 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.4425, allocations: 0.7465 MB / 1.348 GB, free: 11.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005964/0.4485, allocations: 4.535 MB / 1.352 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.4496, allocations: 0.5014 MB / 1.352 GB, free: 6.547 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004563/0.45, allocations: 289 kB / 1.353 GB, free: 6.266 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.4501, allocations: 8.438 kB / 1.353 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.492e-05/0.4501, allocations: 46.98 kB / 1.353 GB, free: 6.203 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 3.356e-06/0.4501, allocations: 3.938 kB / 1.353 GB, free: 6.199 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.004297/0.4544, allocations: 1.678 MB / 1.354 GB, free: 4.504 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.4545, allocations: 55.84 kB / 1.354 GB, free: 4.438 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006783/0.4551, allocations: 0.5145 MB / 1.355 GB, free: 3.914 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.4552, allocations: 33.7 kB / 1.355 GB, free: 3.875 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.4555, allocations: 427.9 kB / 1.355 GB, free: 3.449 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.4557, allocations: 186.4 kB / 1.356 GB, free: 3.266 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.4559, allocations: 126.6 kB / 1.356 GB, free: 3.137 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002963/0.4562, allocations: 374.8 kB / 1.356 GB, free: 2.762 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.4567, allocations: 269.8 kB / 1.356 GB, free: 2.5 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006791/0.4573, allocations: 497.4 kB / 1.357 GB, free: 1.918 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001305/0.4586, allocations: 0.8161 MB / 1.358 GB, free: 1.008 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4587, allocations: 4 kB / 1.358 GB, free: 1.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00212/0.4608, allocations: 1.074 MB / 1.359 GB, free: 15.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.4608, allocations: 11.94 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.4608, allocations: 8 kB / 1.359 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.4618, allocations: 275.7 kB / 1.359 GB, free: 15.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000524/0.4624, allocations: 127.7 kB / 1.359 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007908/0.4703, allocations: 6.586 MB / 1.365 GB, free: 8.477 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007135/0.471, allocations: 39.97 kB / 1.366 GB, free: 8.438 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-05/0.471, allocations: 28.12 kB / 1.366 GB, free: 8.41 MB / 1.061 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.0004613/0.4715, allocations: 249.6 kB / 1.366 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.4716, allocations: 67.58 kB / 1.366 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.4734, allocations: 0.8803 MB / 1.367 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.4734, allocations: 8.031 kB / 1.367 GB, free: 7.188 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4734, allocations: 3.984 kB / 1.367 GB, free: 7.184 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.4737, allocations: 111.5 kB / 1.367 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/0.4738, allocations: 4.188 kB / 1.367 GB, free: 7.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/0.4741, allocations: 39.89 kB / 1.367 GB, free: 7.031 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/0.4742, allocations: 48.33 kB / 1.367 GB, free: 6.984 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002085/0.4763, allocations: 0.94 MB / 1.368 GB, free: 6.023 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001417/0.4777, allocations: 1.045 MB / 1.369 GB, free: 4.961 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004331/0.4782, allocations: 251.3 kB / 1.369 GB, free: 4.719 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005123/0.4787, allocations: 350.8 kB / 1.369 GB, free: 4.379 MB / 1.061 GB Notification: Performance of Backend: time 3.61e-07/0.4787, allocations: 0 / 1.369 GB, free: 4.379 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002789/0.4815, allocations: 1.258 MB / 1.371 GB, free: 3.062 MB / 1.061 GB Notification: Performance of SimCode: time 0.003218/0.4847, allocations: 1.982 MB / 1.373 GB, free: 1.035 MB / 1.061 GB Notification: Performance of Templates: time 0.0263/0.511, allocations: 14.67 MB / 1.387 GB, free: 2.609 MB / 1.076 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 -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.664097599001252]