Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.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.001266/0.001266, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.001446/0.001446, allocations: 209.9 kB / 23 MB, free: 4.934 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.363/3.363, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance") [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.002058/0.002058, allocations: 74.88 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4552, allocations: 176.1 MB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.005423/0.4606, allocations: 3.066 MB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.4631, allocations: 1.313 MB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.4633, allocations: 11.88 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.4644, allocations: 342.8 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.4648, allocations: 143.3 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.4651, allocations: 135.6 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.4655, allocations: 302.9 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.4659, allocations: 193.1 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.4661, allocations: 123.6 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.4664, allocations: 147.5 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.673e-05/0.4665, allocations: 16 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.4667, allocations: 151.7 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.4668, allocations: 87.72 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.467, allocations: 91.59 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.4674, allocations: 338.8 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4674, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4674, allocations: 0 / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.4674, allocations: 4 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009598/0.4684, allocations: 461.4 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.4684, allocations: 12.03 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006097/0.4691, allocations: 76.72 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.4694, allocations: 186.2 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.4694, allocations: 12.75 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.4695, allocations: 24.36 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005308/0.47, allocations: 368.7 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.47, allocations: 3.938 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.47, allocations: 12 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/0.4701, allocations: 20.36 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.4704, allocations: 193 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.4718, allocations: 0.9849 MB / 1.336 GB, free: 8.125 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000241/0.4721, allocations: 98.55 kB / 1.336 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.451e-05/0.4721, allocations: 36.84 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.4721, allocations: 3.938 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.4722, allocations: 38.5 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.4722, allocations: 0 / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004892/0.4727, allocations: 142.6 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.4727, allocations: 51.41 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.4729, allocations: 190.3 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.4729, allocations: 29.7 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.473, allocations: 176.1 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.4731, allocations: 31.72 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.4731, allocations: 33.72 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4733, allocations: 326.8 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-05/0.4733, allocations: 31.98 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.4735, allocations: 102.1 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001932/0.4737, allocations: 148.4 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.4737, allocations: 3.938 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003127/0.474, allocations: 186.2 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.474, allocations: 8.281 kB / 1.337 GB, free: 6.375 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.474, allocations: 4 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000203/0.4742, allocations: 28.78 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.4743, allocations: 27.98 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.4755, allocations: 1.288 MB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.4756, allocations: 16.05 kB / 1.339 GB, free: 4.902 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.4756, allocations: 12.05 kB / 1.339 GB, free: 4.891 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.4758, allocations: 154.6 kB / 1.339 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.4758, allocations: 23.83 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.4758, allocations: 17.5 kB / 1.339 GB, free: 4.691 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4758, allocations: 3.938 kB / 1.339 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4758, allocations: 0 / 1.339 GB, free: 4.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.4759, allocations: 15.89 kB / 1.339 GB, free: 4.672 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.4759, allocations: 4 kB / 1.339 GB, free: 4.668 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.476, allocations: 8 kB / 1.339 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.476, allocations: 7.984 kB / 1.339 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00026/0.4763, allocations: 185.7 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002584/0.4766, allocations: 290.6 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.954e-05/0.4766, allocations: 28 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001097/0.4767, allocations: 128.3 kB / 1.339 GB, free: 4.008 MB / 1.029 GB Notification: Performance of Backend: time 2.51e-07/0.4767, allocations: 0 / 1.339 GB, free: 4.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009126/0.4776, allocations: 352.7 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of SimCode: time 0.001151/0.4788, allocations: 0.8415 MB / 1.341 GB, free: 2.754 MB / 1.029 GB Notification: Performance of Templates: time 0.006644/0.4854, allocations: 2.772 MB / 1.343 GB, free: 20 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.sim & ./Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Lines_Examples_Resistance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Lines.Examples.Resistance.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.318734588996449]