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.001028/0.001027, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009493/0.0009495, allocations: 177.3 kB / 15.95 MB, free: 216 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.442/1.442, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.866/2.866, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 8 kB / 0.8708 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7668/0.7672, allocations: 153.6 MB / 1.021 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003007/0.7703, allocations: 2.285 MB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.7719, allocations: 0.9729 MB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.7721, allocations: 4 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.7725, allocations: 195.1 kB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001525/0.7727, allocations: 71.81 kB / 1.024 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.7731, allocations: 131.7 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003354/0.7734, allocations: 260.4 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.7737, allocations: 166.4 kB / 1.025 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.7738, allocations: 119.4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.774, allocations: 127.2 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.774, allocations: 8 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000273/0.7743, allocations: 131.8 kB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.7745, allocations: 187.3 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.7746, allocations: 149.2 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005661/0.7751, allocations: 0.6758 MB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7752, allocations: 4 kB / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7752, allocations: 0 / 1.026 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.7752, allocations: 0 / 1.026 GB, free: 11.63 MB / 0.7794 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.001239/0.7764, allocations: 0.9911 MB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.7765, allocations: 11.98 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.7778, allocations: 274.5 kB / 1.027 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.7796, allocations: 0.9595 MB / 1.028 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.7797, allocations: 20.66 kB / 1.028 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.224e-05/0.7797, allocations: 35.95 kB / 1.028 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00079/0.7805, allocations: 337.9 kB / 1.029 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.7805, allocations: 0 / 1.029 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.7806, allocations: 8 kB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.7806, allocations: 8 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008996/0.7815, allocations: 310.4 kB / 1.029 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002281/0.7838, allocations: 1.43 MB / 1.03 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.7843, allocations: 162.8 kB / 1.031 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.7843, allocations: 4 kB / 1.031 GB, free: 6.863 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.7844, allocations: 30.56 kB / 1.031 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/0.7844, allocations: 0 / 1.031 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0006246/0.785, allocations: 244.8 kB / 1.031 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.7851, allocations: 51.41 kB / 1.031 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009677/0.786, allocations: 0.8479 MB / 1.032 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.7861, allocations: 29.69 kB / 1.032 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.7865, allocations: 451.6 kB / 1.032 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.7865, allocations: 51.34 kB / 1.032 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.7865, allocations: 8 kB / 1.032 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.7866, allocations: 321.9 kB / 1.033 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.7868, allocations: 43.97 kB / 1.033 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.787, allocations: 167.4 kB / 1.033 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.7872, allocations: 78.7 kB / 1.033 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7872, allocations: 0 / 1.033 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005285/0.7878, allocations: 320.4 kB / 1.033 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.7878, allocations: 16.08 kB / 1.033 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.7878, allocations: 4 kB / 1.033 GB, free: 4.109 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.7879, allocations: 8 kB / 1.033 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/0.7881, allocations: 59.91 kB / 1.033 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.7881, allocations: 8 kB / 1.033 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.7883, allocations: 31.67 kB / 1.033 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.985e-05/0.7884, allocations: 16 kB / 1.033 GB, free: 3.988 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (31): * Single equations (assignments): 31 * 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.0003135/0.7887, allocations: 273.6 kB / 1.033 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.55e-05/0.7888, allocations: 86.92 kB / 1.034 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004914/0.7893, allocations: 237.4 kB / 1.034 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.7893, allocations: 0 / 1.034 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.7893, allocations: 3.984 kB / 1.034 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.7893, allocations: 0 / 1.034 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.7906, allocations: 0.7385 MB / 1.035 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.7906, allocations: 0 / 1.035 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.7908, allocations: 35.97 kB / 1.035 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.7908, allocations: 4 kB / 1.035 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.7908, allocations: 4 kB / 1.035 GB, free: 2.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.7908, allocations: 4 kB / 1.035 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.7908, allocations: 0 / 1.035 GB, free: 2.527 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004246/0.7913, allocations: 361.6 kB / 1.035 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.7914, allocations: 156 kB / 1.035 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.7915, allocations: 4 kB / 1.035 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.7916, allocations: 11.95 kB / 1.035 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.7917, allocations: 7.984 kB / 1.035 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.7917, allocations: 12 kB / 1.035 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0006669/0.7924, allocations: 0.5863 MB / 1.036 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7924, allocations: 0 / 1.036 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003956/0.7928, allocations: 79.75 kB / 1.036 GB, free: 1.25 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (15): * Single equations (assignments): 15 * 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.0001805/0.793, allocations: 115.1 kB / 1.036 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003936/0.7934, allocations: 140.7 kB / 1.036 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7934, allocations: 0 / 1.036 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.7935, allocations: 59.97 kB / 1.036 GB, free: 0.9336 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.7939, allocations: 59.44 kB / 1.036 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.7959, allocations: 1.455 MB / 1.038 GB, free: 15.38 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.7965, allocations: 1.018 MB / 1.039 GB, free: 14.33 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003186/0.7968, allocations: 84.58 kB / 1.039 GB, free: 14.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.609e-05/0.7969, allocations: 47.42 kB / 1.039 GB, free: 14.2 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.7969, allocations: 0 / 1.039 GB, free: 14.2 MB / 0.795 GB Notification: Performance of Templates: time 0.008708/0.8057, allocations: 2.344 MB / 1.041 GB, free: 11.87 MB / 0.795 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","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches