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.001702/0.001702, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.002256/0.002256, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.627/1.627, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.388/3.388, allocations: 0.4899 GB / 0.7915 GB, free: 33.28 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.002118/0.002118, allocations: 67.42 kB / 1.149 GB, free: 26.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4251/0.4272, allocations: 176.1 MB / 1.321 GB, free: 2.797 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004671/0.4319, allocations: 2.286 MB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.4343, allocations: 0.9633 MB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.4346, allocations: 4 kB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008756/0.4355, allocations: 190.8 kB / 1.325 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.4358, allocations: 71.44 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005885/0.4364, allocations: 115.7 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005555/0.4369, allocations: 223.1 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.4372, allocations: 69.69 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.4374, allocations: 87.53 kB / 1.325 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.4376, allocations: 103.4 kB / 1.325 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.6e-05/0.4377, allocations: 20 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004289/0.4381, allocations: 151.8 kB / 1.325 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000255/0.4384, allocations: 219.3 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002819/0.4387, allocations: 262.1 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009675/0.4396, allocations: 0.7231 MB / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4396, allocations: 0 / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4396, allocations: 4 kB / 1.327 GB, free: 13.31 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.4396, allocations: 0 / 1.327 GB, free: 13.31 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.001424/0.4411, allocations: 1.002 MB / 1.328 GB, free: 12.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.331e-05/0.4411, allocations: 15.98 kB / 1.328 GB, free: 12.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005747/0.4417, allocations: 124.3 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008335/0.4425, allocations: 0.5942 MB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.4426, allocations: 8.375 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.4426, allocations: 16.36 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004287/0.443, allocations: 198.2 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.443, allocations: 192 / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.443, allocations: 11.94 kB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.443, allocations: 4 kB / 1.329 GB, free: 11.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.4435, allocations: 223.9 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.4448, allocations: 0.9256 MB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007261/0.4455, allocations: 302.6 kB / 1.33 GB, free: 9.738 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.4458, allocations: 108.9 kB / 1.33 GB, free: 9.629 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007687/0.4465, allocations: 236.9 kB / 1.33 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.4466, allocations: 34.5 kB / 1.33 GB, free: 9.336 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.4466, allocations: 0 / 1.33 GB, free: 9.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0008882/0.4475, allocations: 409.3 kB / 1.331 GB, free: 8.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.4475, allocations: 51.41 kB / 1.331 GB, free: 8.867 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.4487, allocations: 0.9936 MB / 1.332 GB, free: 7.863 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4488, allocations: 37.64 kB / 1.332 GB, free: 7.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/0.4491, allocations: 348.1 kB / 1.332 GB, free: 7.473 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.815e-05/0.4491, allocations: 35.69 kB / 1.332 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-05/0.4492, allocations: 21.72 kB / 1.332 GB, free: 7.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4493, allocations: 318 kB / 1.332 GB, free: 7.094 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.4496, allocations: 91.95 kB / 1.333 GB, free: 7.004 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.4498, allocations: 122.5 kB / 1.333 GB, free: 6.875 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.4503, allocations: 226.4 kB / 1.333 GB, free: 6.645 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4503, allocations: 0 / 1.333 GB, free: 6.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006125/0.4509, allocations: 321 kB / 1.333 GB, free: 6.324 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4509, allocations: 8.062 kB / 1.333 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.4509, allocations: 0 / 1.333 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4509, allocations: 7.938 kB / 1.333 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.4511, allocations: 23.98 kB / 1.333 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.4511, allocations: 0 / 1.333 GB, free: 6.285 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001607/0.4513, allocations: 11.98 kB / 1.333 GB, free: 6.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.4513, allocations: 4 kB / 1.333 GB, free: 6.27 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.0002768/0.4516, allocations: 249.7 kB / 1.333 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.4517, allocations: 83.36 kB / 1.334 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006875/0.4524, allocations: 324.5 kB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4524, allocations: 192 / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4524, allocations: 4 kB / 1.334 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4524, allocations: 7.922 kB / 1.334 GB, free: 5.594 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.453, allocations: 0.5284 MB / 1.334 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.453, allocations: 3.938 kB / 1.334 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.4532, allocations: 27.92 kB / 1.334 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.4532, allocations: 4 kB / 1.334 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.4532, allocations: 7.969 kB / 1.334 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.4532, allocations: 7.984 kB / 1.334 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4532, allocations: 0 / 1.334 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006291/0.4538, allocations: 410.9 kB / 1.335 GB, free: 4.547 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.4541, allocations: 188.5 kB / 1.335 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.4541, allocations: 4 kB / 1.335 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.4543, allocations: 4 kB / 1.335 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.4544, allocations: 7.984 kB / 1.335 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.4544, allocations: 0 / 1.335 GB, free: 4.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009773/0.4553, allocations: 0.7254 MB / 1.336 GB, free: 3.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4553, allocations: 4 kB / 1.336 GB, free: 3.602 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003831/0.4557, allocations: 63.94 kB / 1.336 GB, free: 3.539 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.0002471/0.456, allocations: 115.2 kB / 1.336 GB, free: 3.414 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005369/0.4565, allocations: 212 kB / 1.336 GB, free: 3.207 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4565, allocations: 0 / 1.336 GB, free: 3.207 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.4568, allocations: 107.9 kB / 1.336 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.4572, allocations: 55.7 kB / 1.336 GB, free: 3.051 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.4594, allocations: 1.176 MB / 1.337 GB, free: 1.844 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008013/0.4602, allocations: 0.9408 MB / 1.338 GB, free: 0.8789 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002198/0.4604, allocations: 77.33 kB / 1.338 GB, free: 0.8047 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.4605, allocations: 39.38 kB / 1.338 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4605, allocations: 0 / 1.338 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of Templates: time 0.01223/0.4727, allocations: 4.494 MB / 1.343 GB, free: 12.28 MB / 1.045 GB " [Timeout remaining time 300] 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: 9.667024799156934]