Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.00198/0.00198, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00271/0.00271, allocations: 212.7 kB / 22.24 MB, free: 5.238 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.663/1.663, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.733/3.733, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [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.002164/0.002164, allocations: 64.12 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5193/0.5214, allocations: 181.9 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.006945/0.5284, allocations: 2.578 MB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002979/0.5313, allocations: 0.9991 MB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000529/0.5319, allocations: 4 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.533, allocations: 210.8 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0005959/0.5336, allocations: 95.23 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009459/0.5345, allocations: 179.7 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008866/0.5354, allocations: 403.8 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.5358, allocations: 146.3 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.5362, allocations: 155.3 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000281/0.5364, allocations: 167 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.857e-05/0.5365, allocations: 40 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004606/0.537, allocations: 163.8 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.5373, allocations: 259.2 kB / 1.369 GB, free: 8.141 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003736/0.5377, allocations: 262.2 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.5392, allocations: 0.972 MB / 1.37 GB, free: 6.906 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.859e-06/0.5393, allocations: 4 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5393, allocations: 0 / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.562e-05/0.5393, allocations: 0 / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.002608/0.5419, allocations: 1.083 MB / 1.371 GB, free: 5.777 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/0.542, allocations: 8.031 kB / 1.371 GB, free: 5.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.5434, allocations: 244 kB / 1.372 GB, free: 5.531 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.5453, allocations: 0.6711 MB / 1.372 GB, free: 4.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.5454, allocations: 21.03 kB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.5454, allocations: 32.38 kB / 1.372 GB, free: 4.77 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5465, allocations: 412.2 kB / 1.373 GB, free: 4.355 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.5465, allocations: 3.938 kB / 1.373 GB, free: 4.352 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.5466, allocations: 19.94 kB / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.5466, allocations: 8 kB / 1.373 GB, free: 4.324 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.5477, allocations: 414.4 kB / 1.373 GB, free: 3.918 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004017/0.5517, allocations: 1.409 MB / 1.374 GB, free: 2.477 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007268/0.5525, allocations: 206.5 kB / 1.375 GB, free: 2.266 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.5528, allocations: 96.8 kB / 1.375 GB, free: 2.168 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.5528, allocations: 8 kB / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/0.5529, allocations: 34.56 kB / 1.375 GB, free: 2.117 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 2.364e-06/0.5529, allocations: 0 / 1.375 GB, free: 2.117 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.001225/0.5541, allocations: 368.9 kB / 1.375 GB, free: 1.75 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.5542, allocations: 59.34 kB / 1.375 GB, free: 1.68 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.5561, allocations: 1.218 MB / 1.376 GB, free: 448 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/0.5562, allocations: 33.7 kB / 1.376 GB, free: 408 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004829/0.5567, allocations: 432.2 kB / 1.377 GB, free: 15.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 9.872e-05/0.5568, allocations: 75.38 kB / 1.377 GB, free: 15.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.5569, allocations: 49.7 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.5571, allocations: 318 kB / 1.377 GB, free: 15.53 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.5575, allocations: 143.9 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004474/0.5579, allocations: 232.4 kB / 1.378 GB, free: 15.13 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/0.5586, allocations: 279.1 kB / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5586, allocations: 0 / 1.378 GB, free: 14.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001046/0.5597, allocations: 473.5 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.5597, allocations: 4.156 kB / 1.378 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.5597, allocations: 8 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.5597, allocations: 3.984 kB / 1.378 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.56, allocations: 59.84 kB / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.56, allocations: 4 kB / 1.378 GB, free: 14.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.5604, allocations: 31.86 kB / 1.378 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.663e-05/0.5604, allocations: 8 kB / 1.378 GB, free: 14.26 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00039/0.5608, allocations: 282.7 kB / 1.379 GB, free: 13.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001407/0.5609, allocations: 83.44 kB / 1.379 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008886/0.5618, allocations: 327.3 kB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5618, allocations: 3.938 kB / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5618, allocations: 0 / 1.379 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.5618, allocations: 7.984 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.5636, allocations: 0.8417 MB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.5636, allocations: 0 / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.5639, allocations: 56.03 kB / 1.38 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.194e-06/0.5639, allocations: 7.984 kB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.5639, allocations: 4 kB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.5639, allocations: 4 kB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5639, allocations: 3.938 kB / 1.38 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008672/0.5648, allocations: 436 kB / 1.38 GB, free: 12.12 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.5651, allocations: 131.3 kB / 1.381 GB, free: 11.99 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-05/0.5652, allocations: 8 kB / 1.381 GB, free: 11.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.5655, allocations: 15.98 kB / 1.381 GB, free: 11.97 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.836e-05/0.5655, allocations: 23.91 kB / 1.381 GB, free: 11.95 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/0.5656, allocations: 11.98 kB / 1.381 GB, free: 11.93 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001362/0.5669, allocations: 0.8864 MB / 1.381 GB, free: 11.04 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.5669, allocations: 0 / 1.381 GB, free: 11.04 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005402/0.5675, allocations: 107.7 kB / 1.382 GB, free: 10.93 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: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002726/0.5677, allocations: 109.4 kB / 1.382 GB, free: 10.82 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008404/0.5686, allocations: 282.7 kB / 1.382 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5686, allocations: 0 / 1.382 GB, free: 10.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.5689, allocations: 100.2 kB / 1.382 GB, free: 10.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006854/0.5696, allocations: 75.19 kB / 1.382 GB, free: 10.37 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002859/0.5725, allocations: 1.387 MB / 1.383 GB, free: 8.934 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005598/0.573, allocations: 403.6 kB / 1.384 GB, free: 8.516 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003463/0.5734, allocations: 96.52 kB / 1.384 GB, free: 8.418 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.5735, allocations: 47.42 kB / 1.384 GB, free: 8.371 MB / 1.076 GB Notification: Performance of SimCode: time 7.02e-07/0.5735, allocations: 0 / 1.384 GB, free: 8.371 MB / 1.076 GB Notification: Performance of Templates: time 0.01576/0.5893, allocations: 6.208 MB / 1.39 GB, free: 2.184 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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: 10.865422509610653]