Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001774/0.001774, allocations: 104.1 kB / 16.41 MB, free: 6.492 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.001853/0.001853, allocations: 185.6 kB / 17.34 MB, free: 5.77 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 64.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8111/0.8123, allocations: 151.6 MB / 1.167 GB, free: 3.883 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003978/0.8164, allocations: 2.756 MB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.818, allocations: 1.081 MB / 1.171 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001388/0.8182, allocations: 4 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005937/0.8188, allocations: 214.6 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.819, allocations: 91.28 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.8194, allocations: 175.6 kB / 1.172 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.8199, allocations: 403.8 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.8202, allocations: 221.5 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.8203, allocations: 147.3 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.8205, allocations: 183 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.8206, allocations: 40 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003242/0.8209, allocations: 175.8 kB / 1.173 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.8212, allocations: 263.2 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.8215, allocations: 349.6 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009041/0.8224, allocations: 0.967 MB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8224, allocations: 4 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.492e-06/0.8224, allocations: 3.938 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.8224, allocations: 0 / 1.174 GB, free: 12.82 MB / 0.9044 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.001535/0.8239, allocations: 1.123 MB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.824, allocations: 12.92 kB / 1.175 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.8253, allocations: 235.5 kB / 1.176 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.8266, allocations: 0.7228 MB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.8266, allocations: 21.03 kB / 1.176 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.328e-05/0.8267, allocations: 32.38 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007623/0.8274, allocations: 386.5 kB / 1.177 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.8274, allocations: 3.938 kB / 1.177 GB, free: 10.19 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.8275, allocations: 12 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.8275, allocations: 8 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009398/0.8284, allocations: 418.4 kB / 1.177 GB, free: 9.758 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.8315, allocations: 1.775 MB / 1.179 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.8322, allocations: 218.5 kB / 1.179 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.8325, allocations: 100.8 kB / 1.179 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.8325, allocations: 12.28 kB / 1.179 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.8325, allocations: 38.56 kB / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 2.886e-06/0.8325, allocations: 0 / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.001089/0.8336, allocations: 382.7 kB / 1.18 GB, free: 7.129 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.8337, allocations: 51.41 kB / 1.18 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/0.8351, allocations: 1.247 MB / 1.181 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.8352, allocations: 25.7 kB / 1.181 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/0.8355, allocations: 436.1 kB / 1.181 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.8356, allocations: 59.11 kB / 1.181 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.8357, allocations: 61.59 kB / 1.181 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.8358, allocations: 310 kB / 1.182 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.8362, allocations: 147.9 kB / 1.182 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003631/0.8365, allocations: 205.9 kB / 1.182 GB, free: 4.535 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006134/0.8372, allocations: 287.2 kB / 1.182 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8372, allocations: 0 / 1.182 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008665/0.8381, allocations: 475.2 kB / 1.183 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.8381, allocations: 4 kB / 1.183 GB, free: 3.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.8381, allocations: 4 kB / 1.183 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.8381, allocations: 3.938 kB / 1.183 GB, free: 3.758 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.8385, allocations: 55.95 kB / 1.183 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.8385, allocations: 7.922 kB / 1.183 GB, free: 3.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.8388, allocations: 43.67 kB / 1.183 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.8388, allocations: 8 kB / 1.183 GB, free: 3.645 MB / 0.9044 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.0003711/0.8392, allocations: 276.7 kB / 1.183 GB, free: 3.367 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.8393, allocations: 82.88 kB / 1.183 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008259/0.8401, allocations: 325.8 kB / 1.183 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.8402, allocations: 7.938 kB / 1.183 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8402, allocations: 0 / 1.183 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8402, allocations: 0 / 1.183 GB, free: 2.953 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.8418, allocations: 1.012 MB / 1.184 GB, free: 1.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.8419, allocations: 4 kB / 1.184 GB, free: 1.863 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.8421, allocations: 39.97 kB / 1.184 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.157e-06/0.8422, allocations: 4 kB / 1.184 GB, free: 1.82 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.8422, allocations: 12.12 kB / 1.185 GB, free: 1.809 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.475e-06/0.8422, allocations: 11.92 kB / 1.185 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8422, allocations: 4 kB / 1.185 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.843, allocations: 433.2 kB / 1.185 GB, free: 1.336 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.8433, allocations: 207.9 kB / 1.185 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.8434, allocations: 0 / 1.185 GB, free: 1.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.8436, allocations: 19.98 kB / 1.185 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.8437, allocations: 19.92 kB / 1.185 GB, free: 1.074 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.8437, allocations: 7.984 kB / 1.185 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001048/0.8448, allocations: 0.9067 MB / 1.186 GB, free: 148 kB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.8448, allocations: 0 / 1.186 GB, free: 148 kB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004466/0.8453, allocations: 107.8 kB / 1.186 GB, free: 40 kB / 0.9044 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.0002431/0.8455, allocations: 115.2 kB / 1.186 GB, free: 15.91 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0007166/0.8462, allocations: 277.8 kB / 1.187 GB, free: 15.65 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8462, allocations: 4 kB / 1.187 GB, free: 15.64 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003087/0.8466, allocations: 104.3 kB / 1.187 GB, free: 15.54 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.8471, allocations: 67.48 kB / 1.187 GB, free: 15.47 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.8496, allocations: 1.421 MB / 1.188 GB, free: 14 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000665/0.8503, allocations: 0.9908 MB / 1.189 GB, free: 12.98 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.8505, allocations: 51.42 kB / 1.189 GB, free: 12.93 MB / 0.92 GB Notification: Performance of SimCode: time 7.01e-07/0.8505, allocations: 0 / 1.189 GB, free: 12.93 MB / 0.92 GB Notification: Performance of Templates: time 0.01401/0.8645, allocations: 9.026 MB / 1.198 GB, free: 3.922 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches