Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.559/1.559, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.907/2.907, allocations: 476.7 MB / 0.7629 GB, free: 15.27 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 71.89 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184/1.186, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004081/1.19, allocations: 2.297 MB / 1.274 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001384/1.191, allocations: 0.9535 MB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/1.191, allocations: 2.375 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005542/1.192, allocations: 201 kB / 1.275 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/1.192, allocations: 66.97 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/1.192, allocations: 114.8 kB / 1.276 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/1.193, allocations: 224.3 kB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/1.193, allocations: 67.78 kB / 1.276 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/1.193, allocations: 81.05 kB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/1.193, allocations: 106.9 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/1.193, allocations: 17.09 kB / 1.276 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/1.193, allocations: 156.6 kB / 1.276 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/1.194, allocations: 214.2 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/1.194, allocations: 264.2 kB / 1.277 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007101/1.195, allocations: 0.7343 MB / 1.277 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.195, allocations: 0 / 1.277 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.132e-06/1.195, allocations: 0 / 1.277 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.046e-05/1.195, allocations: 0.5938 kB / 1.277 GB, free: 4.57 MB / 0.9981 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.001114/1.196, allocations: 0.9966 MB / 1.278 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.196, allocations: 9.719 kB / 1.278 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005539/1.196, allocations: 127 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007413/1.197, allocations: 0.5951 MB / 1.279 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/1.197, allocations: 8.969 kB / 1.279 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/1.197, allocations: 12.12 kB / 1.279 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004265/1.197, allocations: 204.5 kB / 1.279 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/1.198, allocations: 0.75 kB / 1.279 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/1.198, allocations: 8.906 kB / 1.279 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/1.198, allocations: 3.812 kB / 1.279 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000492/1.198, allocations: 232.8 kB / 1.279 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/1.199, allocations: 0.9251 MB / 1.28 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007138/1.2, allocations: 307.7 kB / 1.281 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/1.2, allocations: 102.8 kB / 1.281 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007125/1.201, allocations: 234.8 kB / 1.281 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/1.201, allocations: 39.06 kB / 1.281 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.572e-06/1.201, allocations: 1.25 kB / 1.281 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0008333/1.202, allocations: 403.6 kB / 1.281 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/1.202, allocations: 57.72 kB / 1.281 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/1.203, allocations: 0.996 MB / 1.282 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/1.203, allocations: 25.7 kB / 1.282 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/1.203, allocations: 346.1 kB / 1.283 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/1.203, allocations: 30.12 kB / 1.283 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.634e-05/1.203, allocations: 28.69 kB / 1.283 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.293e-05/1.203, allocations: 310.8 kB / 1.283 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/1.204, allocations: 97.92 kB / 1.283 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000204/1.204, allocations: 121.3 kB / 1.283 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/1.204, allocations: 217.5 kB / 1.284 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.204, allocations: 0 / 1.284 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005259/1.205, allocations: 332 kB / 1.284 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.205, allocations: 10.25 kB / 1.284 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.205, allocations: 3.438 kB / 1.284 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/1.205, allocations: 0 / 1.284 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001901/1.205, allocations: 22.84 kB / 1.284 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.205, allocations: 3.734 kB / 1.284 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/1.205, allocations: 13.83 kB / 1.284 GB, free: 0.7539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/1.205, allocations: 9.672 kB / 1.284 GB, free: 0.75 MB / 0.9981 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.0002302/1.205, allocations: 247 kB / 1.284 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/1.206, allocations: 80.41 kB / 1.284 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005945/1.206, allocations: 329.7 kB / 1.285 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.206, allocations: 2.906 kB / 1.285 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.206, allocations: 0.6562 kB / 1.285 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.206, allocations: 0.6094 kB / 1.285 GB, free: 420 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/1.207, allocations: 0.5329 MB / 1.285 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/1.207, allocations: 3.938 kB / 1.285 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/1.207, allocations: 24.16 kB / 1.285 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/1.207, allocations: 1.031 kB / 1.285 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/1.207, allocations: 1.828 kB / 1.285 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.207, allocations: 2.109 kB / 1.285 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.207, allocations: 0 / 1.285 GB, free: 92 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/1.207, allocations: 407.9 kB / 1.285 GB, free: 15.86 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/1.208, allocations: 188.4 kB / 1.286 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/1.208, allocations: 1.891 kB / 1.286 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/1.208, allocations: 11.3 kB / 1.286 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/1.208, allocations: 10.19 kB / 1.286 GB, free: 15.69 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/1.208, allocations: 6.172 kB / 1.286 GB, free: 15.69 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0009647/1.209, allocations: 0.7164 MB / 1.286 GB, free: 15.41 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/1.209, allocations: 288 / 1.286 GB, free: 15.41 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004091/1.209, allocations: 72.7 kB / 1.286 GB, free: 15.4 MB / 1.014 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.0002115/1.21, allocations: 110.5 kB / 1.287 GB, free: 15.3 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005094/1.21, allocations: 216.4 kB / 1.287 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.21, allocations: 1.594 kB / 1.287 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/1.21, allocations: 105.8 kB / 1.287 GB, free: 15.22 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004673/1.211, allocations: 54.83 kB / 1.287 GB, free: 15.19 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/1.213, allocations: 1.193 MB / 1.288 GB, free: 14.59 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/1.213, allocations: 0.9501 MB / 1.289 GB, free: 13.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000224/1.214, allocations: 82.94 kB / 1.289 GB, free: 13.82 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.728e-05/1.214, allocations: 32.52 kB / 1.289 GB, free: 13.82 MB / 1.014 GB Notification: Performance of SimCode: time 7.81e-07/1.214, allocations: 1.438 kB / 1.289 GB, free: 13.82 MB / 1.014 GB Notification: Performance of Templates: time 0.01202/1.226, allocations: 4.511 MB / 1.294 GB, free: 13.43 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.867689850740135]