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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001004/0.001004, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.00105/0.00105, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB 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: 223.3 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.827/2.827, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 13.36 kB / 0.9021 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3583, allocations: 159.6 MB / 1.058 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003349/0.3617, allocations: 2.307 MB / 1.06 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.3637, allocations: 1.011 MB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.3639, allocations: 4 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.3643, allocations: 174.9 kB / 1.061 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3645, allocations: 67.56 kB / 1.061 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.3649, allocations: 123.8 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.3653, allocations: 359.8 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003214/0.3656, allocations: 162.6 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001449/0.3658, allocations: 107.4 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.366, allocations: 139.1 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.366, allocations: 8 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003377/0.3663, allocations: 139.8 kB / 1.062 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002007/0.3666, allocations: 223.2 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.3667, allocations: 145.3 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007033/0.3674, allocations: 0.7249 MB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3674, allocations: 4 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.567e-06/0.3674, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.3674, allocations: 3.938 kB / 1.064 GB, free: 15.61 MB / 0.8262 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.001456/0.3689, allocations: 1.003 MB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3689, allocations: 8.031 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.3703, allocations: 274.5 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.3719, allocations: 0.7026 MB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.372, allocations: 24.61 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.372, allocations: 32 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.3729, allocations: 390 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3729, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.373, allocations: 8 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.373, allocations: 8 kB / 1.066 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/0.3739, allocations: 434.4 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003738/0.3777, allocations: 2.13 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005957/0.3783, allocations: 226.5 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.3786, allocations: 92.81 kB / 1.069 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.3786, allocations: 4.312 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3786, allocations: 42.55 kB / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=20): time 1.913e-06/0.3787, allocations: 0 / 1.069 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20): time 0.0009778/0.3796, allocations: 365.5 kB / 1.069 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3797, allocations: 59.34 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.3811, allocations: 1.239 MB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.3812, allocations: 33.7 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.3815, allocations: 428.1 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.3816, allocations: 71 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.3816, allocations: 8 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3818, allocations: 321.9 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.3821, allocations: 143.9 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.3824, allocations: 205.9 kB / 1.072 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.3828, allocations: 155.9 kB / 1.072 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3828, allocations: 0 / 1.072 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008399/0.3836, allocations: 461.7 kB / 1.072 GB, free: 6.504 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3837, allocations: 4 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3837, allocations: 0 / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3837, allocations: 4 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003098/0.384, allocations: 60.06 kB / 1.072 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.384, allocations: 3.984 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.3843, allocations: 31.73 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.3843, allocations: 12 kB / 1.072 GB, free: 6.391 MB / 0.8262 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 ($PRE.opeModWarUpEngTem.temChe.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003052/0.3846, allocations: 277.6 kB / 1.073 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.964e-05/0.3847, allocations: 90.88 kB / 1.073 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007791/0.3855, allocations: 319.6 kB / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3855, allocations: 0 / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3855, allocations: 0 / 1.073 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3855, allocations: 7.984 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.3871, allocations: 0.9951 MB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3871, allocations: 0 / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002391/0.3873, allocations: 47.89 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.3873, allocations: 4 kB / 1.074 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.3874, allocations: 8 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3874, allocations: 0 / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3874, allocations: 4 kB / 1.074 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.3881, allocations: 449.1 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.3883, allocations: 207.9 kB / 1.075 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.3884, allocations: 4 kB / 1.075 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.3886, allocations: 23.98 kB / 1.075 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.3887, allocations: 15.97 kB / 1.075 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.3887, allocations: 15.95 kB / 1.075 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009942/0.3897, allocations: 0.895 MB / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3897, allocations: 0 / 1.075 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004346/0.3902, allocations: 103.8 kB / 1.076 GB, free: 2.801 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002153/0.3904, allocations: 127.1 kB / 1.076 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006545/0.3911, allocations: 279.7 kB / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3911, allocations: 0 / 1.076 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002779/0.3913, allocations: 103.8 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.3919, allocations: 64.17 kB / 1.076 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.3942, allocations: 1.546 MB / 1.078 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/0.3949, allocations: 0.9956 MB / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.3953, allocations: 100.7 kB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3954, allocations: 47.42 kB / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of SimCode: time 2.114e-06/0.3954, allocations: 0 / 1.079 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.01126/0.4067, allocations: 5.09 MB / 1.084 GB, free: 10.39 MB / 0.8419 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