Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001845/0.001845, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002963/0.002963, allocations: 213.3 kB / 22.99 MB, free: 4.984 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.796/1.796, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.509/3.509, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.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_12_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_12_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.002281/0.002281, allocations: 67.69 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.5009, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.00519/0.506, allocations: 2.578 MB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.5082, allocations: 1.01 MB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001968/0.5084, allocations: 4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007184/0.5091, allocations: 202.6 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.5093, allocations: 91.25 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000632/0.5099, allocations: 187.6 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000496/0.5104, allocations: 403.8 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003595/0.5108, allocations: 150.3 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.511, allocations: 159.2 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.5112, allocations: 183 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.291e-05/0.5113, allocations: 40 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.5116, allocations: 175.8 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.5119, allocations: 263.1 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.5122, allocations: 266.2 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.5134, allocations: 0.976 MB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5134, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.875e-06/0.5134, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.5134, allocations: 0 / 1.334 GB, free: 10.33 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001805/0.5152, allocations: 1.09 MB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5152, allocations: 8.031 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/0.5166, allocations: 244 kB / 1.335 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.5181, allocations: 0.6672 MB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.5181, allocations: 25.03 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.5182, allocations: 28.38 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.5191, allocations: 412.2 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5191, allocations: 3.938 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.5192, allocations: 15.94 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.5192, allocations: 4 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.5202, allocations: 422.4 kB / 1.336 GB, free: 7.344 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003222/0.5234, allocations: 1.405 MB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/0.5241, allocations: 206.6 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.5244, allocations: 92.77 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-05/0.5244, allocations: 4 kB / 1.338 GB, free: 5.594 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.5245, allocations: 34.56 kB / 1.338 GB, free: 5.551 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.844e-06/0.5245, allocations: 4 kB / 1.338 GB, free: 5.547 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.001171/0.5256, allocations: 374.2 kB / 1.338 GB, free: 5.176 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.081e-05/0.5257, allocations: 59.34 kB / 1.339 GB, free: 5.105 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.5274, allocations: 1.218 MB / 1.34 GB, free: 3.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.5274, allocations: 33.7 kB / 1.34 GB, free: 3.824 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004666/0.5279, allocations: 432.6 kB / 1.34 GB, free: 3.398 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/0.528, allocations: 67.42 kB / 1.34 GB, free: 3.332 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.5281, allocations: 53.66 kB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.5283, allocations: 321.9 kB / 1.341 GB, free: 2.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.5286, allocations: 147.9 kB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000435/0.5291, allocations: 227.6 kB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.5298, allocations: 279.2 kB / 1.341 GB, free: 2.27 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.5298, allocations: 4 kB / 1.341 GB, free: 2.266 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001015/0.5308, allocations: 464.7 kB / 1.342 GB, free: 1.805 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.5308, allocations: 4 kB / 1.342 GB, free: 1.801 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.5308, allocations: 0 / 1.342 GB, free: 1.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.219e-05/0.5309, allocations: 7.938 kB / 1.342 GB, free: 1.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.5312, allocations: 71.95 kB / 1.342 GB, free: 1.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5312, allocations: 0 / 1.342 GB, free: 1.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002971/0.5315, allocations: 35.77 kB / 1.342 GB, free: 1.688 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.5316, allocations: 8 kB / 1.342 GB, free: 1.68 MB / 1.029 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.0003457/0.5319, allocations: 270.2 kB / 1.342 GB, free: 1.406 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/0.532, allocations: 87.44 kB / 1.342 GB, free: 1.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008882/0.5329, allocations: 319 kB / 1.342 GB, free: 1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.5329, allocations: 3.938 kB / 1.342 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5329, allocations: 0 / 1.342 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.5329, allocations: 11.97 kB / 1.342 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.5347, allocations: 0.8599 MB / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5347, allocations: 0 / 1.343 GB, free: 72 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002793/0.535, allocations: 47.89 kB / 1.343 GB, free: 24 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.535, allocations: 4 kB / 1.343 GB, free: 20 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.5351, allocations: 8 kB / 1.343 GB, free: 12 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5351, allocations: 4.125 kB / 1.343 GB, free: 8 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5351, allocations: 4 kB / 1.343 GB, free: 4 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008444/0.5359, allocations: 441.5 kB / 1.344 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002926/0.5362, allocations: 123.4 kB / 1.344 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.5363, allocations: 4 kB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.5366, allocations: 23.98 kB / 1.344 GB, free: 15.39 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.299e-05/0.5366, allocations: 15.97 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.5366, allocations: 11.98 kB / 1.344 GB, free: 15.36 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001175/0.5378, allocations: 0.8864 MB / 1.345 GB, free: 14.46 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5378, allocations: 8 kB / 1.345 GB, free: 14.46 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004817/0.5383, allocations: 103.7 kB / 1.345 GB, free: 14.36 MB / 1.045 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.0002853/0.5386, allocations: 123.1 kB / 1.345 GB, free: 14.23 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007635/0.5394, allocations: 267.7 kB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5394, allocations: 0 / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.5397, allocations: 104.5 kB / 1.345 GB, free: 13.86 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.5402, allocations: 63.31 kB / 1.345 GB, free: 13.8 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.5428, allocations: 1.383 MB / 1.347 GB, free: 12.37 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004621/0.5433, allocations: 400.5 kB / 1.347 GB, free: 11.95 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.5436, allocations: 108.5 kB / 1.347 GB, free: 11.84 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.5437, allocations: 43.44 kB / 1.347 GB, free: 11.8 MB / 1.045 GB Notification: Performance of SimCode: time 5.51e-07/0.5437, allocations: 0 / 1.347 GB, free: 11.8 MB / 1.045 GB Notification: Performance of Templates: time 0.01464/0.5583, allocations: 6.314 MB / 1.353 GB, free: 5.516 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.483315470992238]