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.00152/0.00152, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002677/0.002677, allocations: 216.5 kB / 22.24 MB, free: 4.852 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.718/1.718, allocations: 230.6 MB / 256 MB, free: 8.078 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.691/3.691, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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.002201/0.002201, allocations: 73.86 kB / 1.154 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4869/0.4891, allocations: 176.1 MB / 1.326 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.005865/0.4949, allocations: 2.175 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.4972, allocations: 0.8777 MB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.4973, allocations: 4 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007995/0.4981, allocations: 170.9 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.4983, allocations: 71.44 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.4989, allocations: 119.7 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000409/0.4993, allocations: 223.1 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.4995, allocations: 65.97 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.4997, allocations: 87.53 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.4999, allocations: 87.42 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.4999, allocations: 16 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.5004, allocations: 143.8 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003366/0.5007, allocations: 223.3 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002677/0.501, allocations: 186.6 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.5022, allocations: 0.7347 MB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.5022, allocations: 4 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.904e-06/0.5022, allocations: 4 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.5022, allocations: 0 / 1.331 GB, free: 12.73 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.001898/0.5041, allocations: 0.9187 MB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.943e-05/0.5041, allocations: 12.03 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/0.5049, allocations: 128.3 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.506, allocations: 0.5377 MB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.5061, allocations: 12.38 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/0.5061, allocations: 16.31 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004612/0.5066, allocations: 194.2 kB / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5066, allocations: 192 / 1.332 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.5066, allocations: 7.938 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.5066, allocations: 8 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.5071, allocations: 227.8 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.5085, allocations: 0.7849 MB / 1.333 GB, free: 9.797 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007675/0.5092, allocations: 306.6 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.5095, allocations: 104.8 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007673/0.5102, allocations: 159.9 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.5103, allocations: 42.5 kB / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.5103, allocations: 0 / 1.334 GB, free: 9.176 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0009414/0.5112, allocations: 409 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/0.5113, allocations: 51.41 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.5128, allocations: 1.001 MB / 1.335 GB, free: 7.695 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.5129, allocations: 25.7 kB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.5132, allocations: 348.1 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.5133, allocations: 35.69 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.5134, allocations: 29.7 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.5135, allocations: 306 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.5138, allocations: 103.9 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.514, allocations: 118.5 kB / 1.336 GB, free: 6.715 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004485/0.5145, allocations: 218.8 kB / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5145, allocations: 0 / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006587/0.5151, allocations: 332.9 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.5151, allocations: 10.28 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.5152, allocations: 0 / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.5152, allocations: 4.062 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.5153, allocations: 23.98 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5154, allocations: 4 kB / 1.337 GB, free: 6.121 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.5155, allocations: 7.984 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.5156, allocations: 4 kB / 1.337 GB, free: 6.109 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.0003233/0.5159, allocations: 250.2 kB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.516, allocations: 83.41 kB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000694/0.5167, allocations: 328.5 kB / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5167, allocations: 0 / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5167, allocations: 0 / 1.337 GB, free: 5.445 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5167, allocations: 4 kB / 1.337 GB, free: 5.441 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.5173, allocations: 424.9 kB / 1.338 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5173, allocations: 0 / 1.338 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.5175, allocations: 31.91 kB / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.5175, allocations: 0 / 1.338 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.5175, allocations: 3.938 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.5175, allocations: 4 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5175, allocations: 4 kB / 1.338 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006767/0.5182, allocations: 402.9 kB / 1.338 GB, free: 4.543 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.5185, allocations: 107.4 kB / 1.338 GB, free: 4.438 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.5186, allocations: 8.219 kB / 1.338 GB, free: 4.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.5187, allocations: 12 kB / 1.338 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.5188, allocations: 3.984 kB / 1.338 GB, free: 4.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.5188, allocations: 11.94 kB / 1.338 GB, free: 4.402 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001218/0.5201, allocations: 0.7176 MB / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5201, allocations: 0 / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004334/0.5205, allocations: 67.94 kB / 1.339 GB, free: 3.621 MB / 1.029 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 (9): * Single equations (assignments): 9 * 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.0003206/0.5208, allocations: 115.2 kB / 1.339 GB, free: 3.496 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005897/0.5214, allocations: 215.8 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5214, allocations: 0 / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.5217, allocations: 103.9 kB / 1.34 GB, free: 3.184 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.5222, allocations: 51.52 kB / 1.34 GB, free: 3.137 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.5245, allocations: 1.181 MB / 1.341 GB, free: 1.922 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.5249, allocations: 346.2 kB / 1.341 GB, free: 1.562 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002186/0.5252, allocations: 77.33 kB / 1.341 GB, free: 1.488 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.544e-05/0.5252, allocations: 35.44 kB / 1.341 GB, free: 1.453 MB / 1.029 GB Notification: Performance of SimCode: time 6.62e-07/0.5253, allocations: 0 / 1.341 GB, free: 1.453 MB / 1.029 GB Notification: Performance of Templates: time 0.01367/0.5389, allocations: 5.143 MB / 1.346 GB, free: 12.33 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/jenkins/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.958742713555694]