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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 190 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.338/3.338, allocations: 496 MB / 0.7835 GB, free: 33.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 70.84 kB / 1.138 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4533, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.00542/0.4587, allocations: 3.199 MB / 1.31 GB, free: 14.64 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002492/0.4612, allocations: 1.383 MB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.4613, allocations: 7.938 kB / 1.312 GB, free: 13.25 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.4625, allocations: 346 kB / 1.312 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.4629, allocations: 147.3 kB / 1.312 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.4633, allocations: 143.6 kB / 1.312 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004294/0.4638, allocations: 306.7 kB / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.4642, allocations: 168.7 kB / 1.313 GB, free: 12.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.4644, allocations: 127.6 kB / 1.313 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.4647, allocations: 143.5 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.4647, allocations: 20 kB / 1.313 GB, free: 11.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.4651, allocations: 171.6 kB / 1.313 GB, free: 11.71 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.4652, allocations: 79.73 kB / 1.313 GB, free: 11.63 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.4653, allocations: 119.5 kB / 1.313 GB, free: 11.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.4658, allocations: 342.7 kB / 1.314 GB, free: 11.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4658, allocations: 0 / 1.314 GB, free: 11.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4658, allocations: 0 / 1.314 GB, free: 11.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.4659, allocations: 0 / 1.314 GB, free: 11.18 MB / 1.014 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.0009021/0.4668, allocations: 453.5 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4668, allocations: 12.92 kB / 1.314 GB, free: 10.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005857/0.4674, allocations: 76.72 kB / 1.314 GB, free: 10.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.4677, allocations: 198 kB / 1.314 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.4677, allocations: 12.75 kB / 1.314 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.4678, allocations: 16.38 kB / 1.314 GB, free: 10.37 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.4683, allocations: 303.5 kB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.4683, allocations: 3.938 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.4683, allocations: 8 kB / 1.315 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.735e-05/0.4684, allocations: 16.36 kB / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.4687, allocations: 193 kB / 1.315 GB, free: 9.832 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.4705, allocations: 1.425 MB / 1.316 GB, free: 8.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002479/0.4707, allocations: 94.58 kB / 1.316 GB, free: 8.148 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/0.4708, allocations: 28.86 kB / 1.316 GB, free: 8.117 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.4708, allocations: 4 kB / 1.316 GB, free: 8.113 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/0.4709, allocations: 42.48 kB / 1.317 GB, free: 8.062 MB / 1.014 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4709, allocations: 0 / 1.317 GB, free: 8.062 MB / 1.014 GB Notification: Performance of matching and sorting (n=7): time 0.0004905/0.4713, allocations: 142.4 kB / 1.317 GB, free: 7.914 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.4714, allocations: 51.41 kB / 1.317 GB, free: 7.852 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.4716, allocations: 201.2 kB / 1.317 GB, free: 7.648 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.4717, allocations: 29.7 kB / 1.317 GB, free: 7.613 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.4718, allocations: 171.9 kB / 1.317 GB, free: 7.441 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.4718, allocations: 27.84 kB / 1.317 GB, free: 7.414 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.4719, allocations: 37.66 kB / 1.317 GB, free: 7.371 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.4721, allocations: 322.8 kB / 1.317 GB, free: 7.047 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.4721, allocations: 39.97 kB / 1.318 GB, free: 7.008 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.4723, allocations: 98.14 kB / 1.318 GB, free: 6.883 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.4725, allocations: 156.5 kB / 1.318 GB, free: 6.699 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4725, allocations: 4.062 kB / 1.318 GB, free: 6.695 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003312/0.4728, allocations: 186.2 kB / 1.318 GB, free: 6.504 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.4728, allocations: 8.281 kB / 1.318 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.4728, allocations: 4 kB / 1.318 GB, free: 6.492 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.473, allocations: 28.78 kB / 1.318 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4731, allocations: 27.98 kB / 1.318 GB, free: 6.434 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.4744, allocations: 1.314 MB / 1.319 GB, free: 5.004 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.4745, allocations: 23.88 kB / 1.319 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.4745, allocations: 7.938 kB / 1.319 GB, free: 4.973 MB / 1.014 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.0001677/0.4747, allocations: 162.5 kB / 1.319 GB, free: 4.805 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.4747, allocations: 15.91 kB / 1.319 GB, free: 4.789 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.4748, allocations: 13.41 kB / 1.32 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4748, allocations: 0 / 1.32 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.4748, allocations: 4 kB / 1.32 GB, free: 4.773 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4748, allocations: 3.984 kB / 1.32 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005861/0.4754, allocations: 410.3 kB / 1.32 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4754, allocations: 0 / 1.32 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.4754, allocations: 12 kB / 1.32 GB, free: 4.305 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.871e-05/0.4755, allocations: 24.83 kB / 1.32 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.4755, allocations: 4 kB / 1.32 GB, free: 4.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001159/0.4766, allocations: 1.318 MB / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4766, allocations: 0 / 1.321 GB, free: 2.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.4769, allocations: 212.2 kB / 1.321 GB, free: 2.613 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.477, allocations: 27.98 kB / 1.321 GB, free: 2.586 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.477, allocations: 0 / 1.321 GB, free: 2.586 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4771, allocations: 4 kB / 1.321 GB, free: 2.582 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.4771, allocations: 11.98 kB / 1.321 GB, free: 2.57 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.4771, allocations: 0 / 1.321 GB, free: 2.57 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001469/0.4773, allocations: 147.4 kB / 1.322 GB, free: 2.426 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4773, allocations: 0 / 1.322 GB, free: 2.426 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003566/0.4776, allocations: 51.89 kB / 1.322 GB, free: 2.375 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001335/0.4778, allocations: 99.25 kB / 1.322 GB, free: 2.266 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004204/0.4782, allocations: 206.5 kB / 1.322 GB, free: 2.051 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4782, allocations: 192 / 1.322 GB, free: 2.051 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.4784, allocations: 147.6 kB / 1.322 GB, free: 1.895 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.4787, allocations: 48.77 kB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007164/0.4795, allocations: 358.9 kB / 1.322 GB, free: 1.477 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.4799, allocations: 0.7515 MB / 1.323 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 9.017e-05/0.48, allocations: 21.47 kB / 1.323 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.48, allocations: 19.44 kB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.48, allocations: 0 / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of Templates: time 0.005857/0.4859, allocations: 1.861 MB / 1.325 GB, free: 14.81 MB / 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/jenkins/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.827324562706053]