Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.001643/0.001643, 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.002006/0.002006, allocations: 207.8 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.597/1.597, 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.518/3.518, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [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.002078/0.002078, allocations: 67.52 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4671, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004435/0.4715, allocations: 2.171 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001791/0.4733, allocations: 0.8816 MB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.4734, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006815/0.4741, allocations: 178.9 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.4742, allocations: 71.44 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.4747, allocations: 119.7 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003234/0.475, allocations: 219.1 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002051/0.4752, allocations: 73.84 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.4753, allocations: 83.59 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.4755, allocations: 107.4 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.4755, allocations: 20 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.4759, allocations: 143.8 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.4761, allocations: 215.3 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.4763, allocations: 198.5 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000895/0.4772, allocations: 0.7348 MB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4772, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.935e-06/0.4772, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.4772, allocations: 0 / 1.332 GB, free: 11.8 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001491/0.4787, allocations: 0.9148 MB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.4788, allocations: 16.03 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000605/0.4794, allocations: 128.3 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000904/0.4803, allocations: 0.5377 MB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.4803, allocations: 12.38 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.4803, allocations: 16.38 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.4808, allocations: 194.2 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4808, allocations: 192 / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.4808, allocations: 3.938 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.4808, allocations: 7.938 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.4814, allocations: 235.8 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.4828, allocations: 0.7809 MB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007845/0.4836, allocations: 314.6 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.4838, allocations: 100.8 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007863/0.4846, allocations: 155.9 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.9e-05/0.4846, allocations: 34.5 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.4846, allocations: 0 / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.00099/0.4856, allocations: 413 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.826e-05/0.4857, allocations: 51.41 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.4871, allocations: 0.9978 MB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.4871, allocations: 25.7 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.4875, allocations: 352.1 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.4875, allocations: 31.7 kB / 1.337 GB, free: 6.359 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.4876, allocations: 33.64 kB / 1.337 GB, free: 6.32 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4878, allocations: 306 kB / 1.338 GB, free: 6.016 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.488, allocations: 99.94 kB / 1.338 GB, free: 5.918 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.4883, allocations: 118.5 kB / 1.338 GB, free: 5.793 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004312/0.4887, allocations: 218.4 kB / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4887, allocations: 0 / 1.338 GB, free: 5.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006923/0.4894, allocations: 325 kB / 1.338 GB, free: 5.246 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/0.4894, allocations: 11.92 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4894, allocations: 0 / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.248e-05/0.4895, allocations: 4 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.4897, allocations: 23.98 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.4897, allocations: 7.938 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.4898, allocations: 12.05 kB / 1.338 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.4898, allocations: 4 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0002972/0.4901, allocations: 250.2 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.4903, allocations: 83.41 kB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006725/0.4909, allocations: 324.5 kB / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4909, allocations: 0 / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4909, allocations: 0 / 1.339 GB, free: 4.523 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/0.4912, allocations: 111.4 kB / 1.339 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.702e-05/0.4913, allocations: 12.17 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.4914, allocations: 11.98 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.4915, allocations: 11.92 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006286/0.4921, allocations: 324.8 kB / 1.34 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007202/0.4928, allocations: 490.1 kB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002124/0.493, allocations: 99.95 kB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001044/0.4941, allocations: 0.7176 MB / 1.341 GB, free: 2.746 MB / 1.029 GB Notification: Performance of Backend: time 5.81e-07/0.4941, allocations: 0 / 1.341 GB, free: 2.746 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008143/0.4949, allocations: 210.2 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of SimCode: time 0.00214/0.497, allocations: 1.583 MB / 1.343 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of Templates: time 0.01414/0.5112, allocations: 5.997 MB / 1.348 GB, free: 10.93 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.29909415399743]