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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004447/0.004447, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 204.1 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001354, allocations: 68.11 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8722, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004834/0.8771, allocations: 2.733 MB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002086/0.8792, allocations: 1.103 MB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.8794, allocations: 4 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006456/0.8801, allocations: 206.6 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.8803, allocations: 79.31 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.8808, allocations: 179.7 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004405/0.8813, allocations: 407.7 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003838/0.8817, allocations: 213.5 kB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.8818, allocations: 151.4 kB / 1.213 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.8821, allocations: 182.9 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.554e-05/0.8821, allocations: 40 kB / 1.213 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003184/0.8824, allocations: 175.8 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.8827, allocations: 263.2 kB / 1.213 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.8829, allocations: 353.6 kB / 1.214 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008982/0.8838, allocations: 0.9631 MB / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8838, allocations: 0 / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8838, allocations: 0 / 1.215 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.889e-06/0.8839, allocations: 0 / 1.215 GB, free: 6.594 MB / 0.9356 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.001514/0.8854, allocations: 1.127 MB / 1.216 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.8854, allocations: 12.03 kB / 1.216 GB, free: 5.398 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.8867, allocations: 235.5 kB / 1.216 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.8882, allocations: 0.7189 MB / 1.217 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/0.8882, allocations: 29.03 kB / 1.217 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.8883, allocations: 32.36 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008337/0.8891, allocations: 386.5 kB / 1.217 GB, free: 3.953 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.8891, allocations: 3.938 kB / 1.217 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.8892, allocations: 12 kB / 1.217 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.8892, allocations: 12 kB / 1.217 GB, free: 3.926 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009992/0.8902, allocations: 410.4 kB / 1.217 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003277/0.8935, allocations: 1.787 MB / 1.219 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.8942, allocations: 218.5 kB / 1.219 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.8945, allocations: 100.8 kB / 1.22 GB, free: 1.32 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.8945, allocations: 12.3 kB / 1.22 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.8946, allocations: 34.56 kB / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/0.8946, allocations: 0 / 1.22 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.001144/0.8957, allocations: 377.9 kB / 1.22 GB, free: 0.8906 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.8958, allocations: 59.34 kB / 1.22 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.8972, allocations: 1.243 MB / 1.221 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.8973, allocations: 33.7 kB / 1.221 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.8976, allocations: 428.1 kB / 1.222 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.708e-05/0.8977, allocations: 67.09 kB / 1.222 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.8978, allocations: 57.61 kB / 1.222 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8979, allocations: 321.9 kB / 1.222 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.8983, allocations: 143.9 kB / 1.222 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.8987, allocations: 199.2 kB / 1.222 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.8993, allocations: 283.3 kB / 1.223 GB, free: 14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8993, allocations: 0 / 1.223 GB, free: 14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008702/0.9002, allocations: 458.4 kB / 1.223 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.9002, allocations: 7.984 kB / 1.223 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.9002, allocations: 4 kB / 1.223 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.9003, allocations: 7.938 kB / 1.223 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.9006, allocations: 51.91 kB / 1.223 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.9006, allocations: 4 kB / 1.223 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.9009, allocations: 47.64 kB / 1.223 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.9009, allocations: 15.94 kB / 1.223 GB, free: 13.41 MB / 0.9512 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.0002922/0.9012, allocations: 265.7 kB / 1.223 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.9013, allocations: 86.86 kB / 1.224 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008669/0.9022, allocations: 332.1 kB / 1.224 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.9022, allocations: 0 / 1.224 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9022, allocations: 0 / 1.224 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.9022, allocations: 7.984 kB / 1.224 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.9039, allocations: 1.007 MB / 1.225 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.904, allocations: 0 / 1.225 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.9042, allocations: 44.16 kB / 1.225 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.9042, allocations: 7.984 kB / 1.225 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.9043, allocations: 11.94 kB / 1.225 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.9043, allocations: 0 / 1.225 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.9043, allocations: 7.938 kB / 1.225 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.9051, allocations: 431.7 kB / 1.225 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002834/0.9054, allocations: 203.9 kB / 1.226 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.515e-05/0.9054, allocations: 8 kB / 1.226 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.9057, allocations: 15.98 kB / 1.226 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.019e-05/0.9058, allocations: 31.84 kB / 1.226 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.9058, allocations: 12 kB / 1.226 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001015/0.9069, allocations: 0.9028 MB / 1.226 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9069, allocations: 0 / 1.226 GB, free: 9.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004334/0.9073, allocations: 99.78 kB / 1.227 GB, free: 9.812 MB / 0.9512 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.0002194/0.9075, allocations: 119.2 kB / 1.227 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007712/0.9083, allocations: 279.7 kB / 1.227 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9083, allocations: 0 / 1.227 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.9087, allocations: 104.1 kB / 1.227 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.9092, allocations: 71.36 kB / 1.227 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/0.9114, allocations: 1.374 MB / 1.228 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.912, allocations: 0.9908 MB / 1.229 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002848/0.9123, allocations: 100.7 kB / 1.23 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.9124, allocations: 43.42 kB / 1.23 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.9124, allocations: 0 / 1.23 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of Templates: time 0.01317/0.9256, allocations: 5.727 MB / 1.235 GB, free: 0.9453 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) 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) Reference file matches