Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001888/0.001888, allocations: 79.75 kB / 20.23 MB, free: 4.168 MB / 18.57 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.002067/0.002067, allocations: 157.4 kB / 23.55 MB, free: 0.8555 MB / 18.57 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.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.106/3.106, allocations: 377.8 MB / 0.6232 GB, free: 8.516 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.8108 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.441e-05/4.603e-05, allocations: 8.219 kB / 0.8108 GB, free: 0.9141 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004874/0.00492, allocations: 2.646 MB / 0.8134 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.007018, allocations: 1.085 MB / 0.8145 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.007185, allocations: 5.688 kB / 0.8145 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0007162/0.007901, allocations: 197.8 kB / 0.8147 GB, free: 13 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.008132, allocations: 92.7 kB / 0.8147 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005856/0.008717, allocations: 188.4 kB / 0.8149 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005455/0.009263, allocations: 411.6 kB / 0.8153 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003286/0.009591, allocations: 138.9 kB / 0.8155 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003321/0.009924, allocations: 233.1 kB / 0.8157 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.01014, allocations: 127.5 kB / 0.8158 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.921e-05/0.01022, allocations: 40 kB / 0.8158 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003814/0.01061, allocations: 171.7 kB / 0.816 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.01093, allocations: 271.8 kB / 0.8163 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.01118, allocations: 191.3 kB / 0.8164 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.01247, allocations: 0.9584 MB / 0.8174 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.01248, allocations: 0 / 0.8174 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.654e-06/0.01248, allocations: 1.156 kB / 0.8174 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.01249, allocations: 0 / 0.8174 GB, free: 10.21 MB / 0.7292 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.002317/0.0148, allocations: 1.25 MB / 0.8186 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.01486, allocations: 8.031 kB / 0.8186 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.01607, allocations: 235.3 kB / 0.8188 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001317/0.01739, allocations: 0.5542 MB / 0.8194 GB, free: 8.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.01743, allocations: 21.03 kB / 0.8194 GB, free: 8.066 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.01749, allocations: 32.91 kB / 0.8194 GB, free: 8.035 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.01827, allocations: 330.8 kB / 0.8197 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.01828, allocations: 4.125 kB / 0.8197 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.01833, allocations: 16.31 kB / 0.8198 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.01834, allocations: 12.12 kB / 0.8198 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007799/0.01912, allocations: 272.2 kB / 0.82 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003504/0.02262, allocations: 1.494 MB / 0.8215 GB, free: 5.895 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006325/0.02326, allocations: 207.1 kB / 0.8217 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002636/0.02352, allocations: 87.66 kB / 0.8218 GB, free: 5.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.249e-05/0.02356, allocations: 8 kB / 0.8218 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.0236, allocations: 41.34 kB / 0.8218 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.0236, allocations: 0 / 0.8218 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20): time 0.001035/0.02464, allocations: 339.4 kB / 0.8221 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.02469, allocations: 59.41 kB / 0.8222 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.02637, allocations: 1.087 MB / 0.8233 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.02641, allocations: 29.7 kB / 0.8233 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006289/0.02704, allocations: 0.5384 MB / 0.8238 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.718e-05/0.02712, allocations: 71.42 kB / 0.8239 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.02727, allocations: 63.34 kB / 0.8239 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003006/0.02758, allocations: 0.4964 MB / 0.8244 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.02785, allocations: 75.97 kB / 0.8245 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.02821, allocations: 187.5 kB / 0.8247 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000564/0.02877, allocations: 234.1 kB / 0.8249 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.02878, allocations: 0 / 0.8249 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008105/0.02959, allocations: 345 kB / 0.8252 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.02961, allocations: 8 kB / 0.8252 GB, free: 1.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.02962, allocations: 7.875 kB / 0.8252 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.02965, allocations: 4 kB / 0.8252 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.02994, allocations: 47.97 kB / 0.8253 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.02995, allocations: 3.938 kB / 0.8253 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.03034, allocations: 43.7 kB / 0.8253 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.03037, allocations: 8 kB / 0.8253 GB, free: 1.781 MB / 0.7292 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.0002678/0.03064, allocations: 196.6 kB / 0.8255 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.03078, allocations: 95.38 kB / 0.8256 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007669/0.03155, allocations: 289.5 kB / 0.8259 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.03156, allocations: 4 kB / 0.8259 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.03157, allocations: 0 / 0.8259 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.03158, allocations: 7.938 kB / 0.8259 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.03356, allocations: 1.045 MB / 0.8269 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.03357, allocations: 4 kB / 0.8269 GB, free: 64 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.03381, allocations: 35.98 kB / 0.827 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.03382, allocations: 7.938 kB / 0.827 GB, free: 20 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.03384, allocations: 7.984 kB / 0.827 GB, free: 12 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.03385, allocations: 3.938 kB / 0.827 GB, free: 8 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.03385, allocations: 4 kB / 0.827 GB, free: 4 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008662/0.03472, allocations: 492 kB / 0.8275 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.03503, allocations: 123.3 kB / 0.8276 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.385e-05/0.0351, allocations: 8 kB / 0.8276 GB, free: 15.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.03534, allocations: 15.92 kB / 0.8276 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.489e-05/0.03543, allocations: 19.97 kB / 0.8276 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.577e-05/0.03545, allocations: 12 kB / 0.8276 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00105/0.0365, allocations: 0.656 MB / 0.8283 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.0365, allocations: 0 / 0.8283 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005339/0.03704, allocations: 107.7 kB / 0.8284 GB, free: 14.53 MB / 0.7448 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.0003192/0.03735, allocations: 123.1 kB / 0.8285 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007362/0.03809, allocations: 219.5 kB / 0.8287 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.03809, allocations: 0 / 0.8287 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.03839, allocations: 108.2 kB / 0.8288 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.03894, allocations: 75.25 kB / 0.8289 GB, free: 14 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.04155, allocations: 1.261 MB / 0.8301 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.04204, allocations: 383.6 kB / 0.8305 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002867/0.04232, allocations: 88.52 kB / 0.8306 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.04248, allocations: 44.5 kB / 0.8306 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of SimCode: time 7.91e-07/0.04248, allocations: 0 / 0.8306 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of Templates: time 0.01466/0.05714, allocations: 5.534 MB / 0.836 GB, free: 6.664 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.629818007000722]