Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001766/0.001766, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.001892/0.001892, allocations: 164 kB / 22.46 MB, free: 5.359 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.593/1.593, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.003/3.003, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 1 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.719e-05/3.924e-05, allocations: 6.219 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005433/0.005472, allocations: 2.576 MB / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002623/0.008095, allocations: 1.011 MB / 1.004 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.008476, allocations: 4 kB / 1.004 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0009031/0.009379, allocations: 198.8 kB / 1.004 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004352/0.009814, allocations: 99.17 kB / 1.004 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007599/0.01057, allocations: 183.6 kB / 1.004 GB, free: 3.191 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007457/0.01132, allocations: 411.6 kB / 1.005 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.01171, allocations: 146.3 kB / 1.005 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004071/0.01212, allocations: 227.4 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.01235, allocations: 123.5 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.002e-05/0.01243, allocations: 40 kB / 1.005 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.01282, allocations: 163.8 kB / 1.005 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003146/0.01314, allocations: 267.2 kB / 1.005 GB, free: 1.832 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.01343, allocations: 191.3 kB / 1.006 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.01485, allocations: 0.9535 MB / 1.007 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.01486, allocations: 0 / 1.007 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/0.01486, allocations: 0 / 1.007 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.39e-05/0.01491, allocations: 0 / 1.007 GB, free: 0.6875 MB / 0.9512 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.002038/0.01694, allocations: 1.075 MB / 1.008 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.01699, allocations: 12.03 kB / 1.008 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001409/0.0184, allocations: 244 kB / 1.008 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.01994, allocations: 0.6665 MB / 1.008 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.01998, allocations: 24.97 kB / 1.009 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.02005, allocations: 28.38 kB / 1.009 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.02101, allocations: 412.2 kB / 1.009 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.02103, allocations: 192 / 1.009 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.945e-05/0.02107, allocations: 16.38 kB / 1.009 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.02108, allocations: 12.12 kB / 1.009 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.02224, allocations: 418.3 kB / 1.009 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003405/0.02564, allocations: 1.413 MB / 1.011 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007468/0.02639, allocations: 210.5 kB / 1.011 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.02672, allocations: 92.8 kB / 1.011 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.786e-05/0.02676, allocations: 4 kB / 1.011 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.02679, allocations: 42.56 kB / 1.011 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=20): time 1.472e-06/0.02679, allocations: 0 / 1.011 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=20): time 0.001244/0.02804, allocations: 374.7 kB / 1.011 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.02809, allocations: 51.41 kB / 1.011 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/0.0298, allocations: 1.214 MB / 1.013 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.02985, allocations: 29.7 kB / 1.013 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/0.03029, allocations: 436.5 kB / 1.013 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.03037, allocations: 71.36 kB / 1.013 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.03049, allocations: 53.69 kB / 1.013 GB, free: 9.637 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.03067, allocations: 321.9 kB / 1.014 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.03106, allocations: 147.9 kB / 1.014 GB, free: 9.172 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004587/0.03152, allocations: 231.6 kB / 1.014 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/0.03225, allocations: 283.4 kB / 1.014 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.03225, allocations: 0 / 1.014 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001042/0.03329, allocations: 460.7 kB / 1.015 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.03332, allocations: 8 kB / 1.015 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.03333, allocations: 0 / 1.015 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.03335, allocations: 4 kB / 1.015 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003557/0.03371, allocations: 64.05 kB / 1.015 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.03372, allocations: 4 kB / 1.015 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.03402, allocations: 31.81 kB / 1.015 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.03405, allocations: 11.98 kB / 1.015 GB, free: 8.047 MB / 0.9669 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.000361/0.03441, allocations: 266.2 kB / 1.015 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.03455, allocations: 87.39 kB / 1.015 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009536/0.0355, allocations: 321.5 kB / 1.015 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.03551, allocations: 8 kB / 1.015 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.03551, allocations: 4 kB / 1.015 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.03552, allocations: 3.938 kB / 1.015 GB, free: 7.352 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.03736, allocations: 0.8494 MB / 1.016 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.03736, allocations: 4 kB / 1.016 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.03765, allocations: 39.97 kB / 1.016 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.03766, allocations: 3.938 kB / 1.016 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.03769, allocations: 16.17 kB / 1.016 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.03769, allocations: 7.938 kB / 1.016 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.0377, allocations: 0 / 1.016 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/0.03861, allocations: 434.5 kB / 1.017 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.03888, allocations: 143.2 kB / 1.017 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.03895, allocations: 7.938 kB / 1.017 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.03925, allocations: 15.98 kB / 1.017 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.03933, allocations: 19.97 kB / 1.017 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.2e-05/0.03935, allocations: 8 kB / 1.017 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001323/0.04067, allocations: 0.8864 MB / 1.018 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.04067, allocations: 0 / 1.018 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004754/0.04115, allocations: 103.8 kB / 1.018 GB, free: 4.727 MB / 0.9669 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.0002752/0.04142, allocations: 119.1 kB / 1.018 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008235/0.04225, allocations: 267.7 kB / 1.018 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.04225, allocations: 0 / 1.018 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.04261, allocations: 104.4 kB / 1.018 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.04312, allocations: 63.33 kB / 1.018 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.04571, allocations: 1.369 MB / 1.02 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.04623, allocations: 395.6 kB / 1.02 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002954/0.04652, allocations: 96.53 kB / 1.02 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.04668, allocations: 44.48 kB / 1.02 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.04668, allocations: 0 / 1.02 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of Templates: time 0.01426/0.06094, allocations: 5.482 MB / 1.026 GB, free: 12.75 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.269442405551672]