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.001861/0.001861, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002241/0.002241, allocations: 200.7 kB / 22.17 MB, free: 5.211 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.461/1.461, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.797/2.797, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.001999/0.001999, allocations: 67.91 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9761/0.9781, allocations: 168.7 MB / 1.274 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004004/0.9821, allocations: 2.285 MB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.9838, allocations: 0.9555 MB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.9839, allocations: 0 / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.9845, allocations: 198.7 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.9846, allocations: 71.44 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.985, allocations: 111.7 kB / 1.278 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003726/0.9854, allocations: 223.1 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.9856, allocations: 69.7 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.9858, allocations: 83.53 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.986, allocations: 107.4 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.838e-05/0.986, allocations: 20 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003593/0.9864, allocations: 151.8 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.9866, allocations: 215.4 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.9869, allocations: 266 kB / 1.279 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009201/0.9878, allocations: 0.7258 MB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.9878, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9878, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.9878, allocations: 3.938 kB / 1.279 GB, free: 15.05 MB / 0.9825 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.001621/0.9895, allocations: 1.006 MB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.9895, allocations: 12.03 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006276/0.9901, allocations: 120.3 kB / 1.281 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009431/0.9911, allocations: 0.5981 MB / 1.281 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.9911, allocations: 8.375 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.9911, allocations: 12.38 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.9916, allocations: 202.1 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.9916, allocations: 192 / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.9916, allocations: 3.938 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.9916, allocations: 8 kB / 1.281 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.9921, allocations: 235.8 kB / 1.282 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.9935, allocations: 0.9179 MB / 1.282 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007152/0.9942, allocations: 306.6 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002258/0.9944, allocations: 108.8 kB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008177/0.9952, allocations: 236.9 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.9953, allocations: 34.56 kB / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.9953, allocations: 0 / 1.283 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0008721/0.9961, allocations: 401 kB / 1.283 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.9962, allocations: 55.34 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.9975, allocations: 0.9973 MB / 1.284 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.9975, allocations: 33.7 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.9979, allocations: 348.1 kB / 1.285 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.438e-05/0.9979, allocations: 31.73 kB / 1.285 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.998, allocations: 21.72 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.9981, allocations: 318 kB / 1.285 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.9984, allocations: 95.95 kB / 1.285 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/0.9986, allocations: 118.5 kB / 1.285 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.999, allocations: 222.8 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.999, allocations: 0 / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006081/0.9996, allocations: 328.9 kB / 1.286 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.9996, allocations: 4 kB / 1.286 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9997, allocations: 4.062 kB / 1.286 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.9997, allocations: 4 kB / 1.286 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.9998, allocations: 23.98 kB / 1.286 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.9998, allocations: 0 / 1.286 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/1, allocations: 11.94 kB / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/1, allocations: 4 kB / 1.286 GB, free: 8.02 MB / 0.9825 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.000288/1, allocations: 253.7 kB / 1.286 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/1, allocations: 83.42 kB / 1.286 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006717/1.001, allocations: 328.4 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.001, allocations: 4 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.001, allocations: 0 / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.001, allocations: 3.984 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/1.002, allocations: 0.5246 MB / 1.287 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.002, allocations: 15.88 kB / 1.287 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/1.002, allocations: 15.98 kB / 1.287 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.002, allocations: 8 kB / 1.287 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/1.002, allocations: 3.984 kB / 1.287 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.002, allocations: 0 / 1.287 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.002, allocations: 0 / 1.287 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/1.003, allocations: 415 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/1.003, allocations: 184.5 kB / 1.288 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/1.003, allocations: 3.984 kB / 1.288 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.003, allocations: 8 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/1.003, allocations: 7.984 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/1.003, allocations: 0 / 1.288 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009665/1.004, allocations: 0.7176 MB / 1.288 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.004, allocations: 0 / 1.288 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004034/1.004, allocations: 79.88 kB / 1.289 GB, free: 5.289 MB / 0.9825 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.000254/1.005, allocations: 111.7 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000553/1.005, allocations: 211.8 kB / 1.289 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.005, allocations: 128 / 1.289 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002315/1.006, allocations: 108 kB / 1.289 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/1.006, allocations: 51.23 kB / 1.289 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/1.008, allocations: 1.192 MB / 1.29 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/1.009, allocations: 0.9451 MB / 1.291 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002014/1.009, allocations: 77.33 kB / 1.291 GB, free: 2.543 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.907e-05/1.009, allocations: 31.44 kB / 1.291 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of SimCode: time 9.32e-07/1.009, allocations: 0 / 1.291 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of Templates: time 0.01161/1.02, allocations: 4.517 MB / 1.296 GB, free: 14 MB / 0.9981 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.112738363910466]