Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005005/0.005005, allocations: 98.17 kB / 15.73 MB, free: 6.055 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.00115/0.00115, allocations: 193.5 kB / 16.68 MB, free: 5.969 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.255/1.255, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.433/2.433, allocations: 469.4 MB / 0.7422 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 67.89 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7369, allocations: 159.1 MB / 1.22 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003465/0.7404, allocations: 2.427 MB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001985/0.7424, allocations: 1.517 MB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001347/0.7425, allocations: 7.938 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.7431, allocations: 223.1 kB / 1.224 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.7434, allocations: 159.2 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.7438, allocations: 186.7 kB / 1.224 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.7442, allocations: 354.9 kB / 1.224 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.7443, allocations: 92.48 kB / 1.225 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.7445, allocations: 147.3 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.7447, allocations: 151.3 kB / 1.225 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.7447, allocations: 20 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.7449, allocations: 75.89 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.745, allocations: 119.5 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.7451, allocations: 190.6 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.7456, allocations: 0.5014 MB / 1.226 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.7456, allocations: 3.938 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7456, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.7456, allocations: 0 / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001077/0.7467, allocations: 0.8315 MB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.7468, allocations: 8.625 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.7468, allocations: 46.73 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.091e-05/0.7469, allocations: 64.52 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.7474, allocations: 428.5 kB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.7474, allocations: 12.12 kB / 1.227 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.7475, allocations: 20 kB / 1.227 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.7477, allocations: 125.6 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.7477, allocations: 4 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.7478, allocations: 4 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.7478, allocations: 4 kB / 1.227 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.7479, allocations: 79.95 kB / 1.227 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008982/0.7488, allocations: 0.6485 MB / 1.228 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/0.7492, allocations: 130.7 kB / 1.228 GB, free: 9.594 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.052e-05/0.7493, allocations: 48.84 kB / 1.228 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.7493, allocations: 0 / 1.228 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.7495, allocations: 111.3 kB / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.7495, allocations: 0 / 1.228 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0004164/0.7499, allocations: 213.5 kB / 1.228 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.75, allocations: 51.41 kB / 1.228 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006057/0.7506, allocations: 0.6553 MB / 1.229 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.7506, allocations: 29.7 kB / 1.229 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.7508, allocations: 256.5 kB / 1.229 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.7509, allocations: 43.67 kB / 1.229 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.7509, allocations: 53.7 kB / 1.229 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.7511, allocations: 374.7 kB / 1.23 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.7512, allocations: 79.97 kB / 1.23 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.7514, allocations: 111.3 kB / 1.23 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.7516, allocations: 128.4 kB / 1.23 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.7516, allocations: 0 / 1.23 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000374/0.752, allocations: 281 kB / 1.23 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.752, allocations: 4 kB / 1.23 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.752, allocations: 4 kB / 1.23 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.752, allocations: 0 / 1.23 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.7522, allocations: 39.92 kB / 1.23 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.7522, allocations: 0 / 1.23 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001675/0.7524, allocations: 35.89 kB / 1.231 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.7524, allocations: 11.94 kB / 1.231 GB, free: 7.008 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.PEleDem.tab.nextTimeEvent,$whenCondition1,PEleDem.tab.nextTimeEventScaled,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEvent,assPow.minPow.y,$PRE.assPow.minPow.y,assPow.maxPow.y,$PRE.assPow.maxPow.y,assPow.assMesDP.u,assPow.assMesP.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001842/0.7526, allocations: 210.2 kB / 1.231 GB, free: 6.793 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.7526, allocations: 59.61 kB / 1.231 GB, free: 6.734 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.842e-05/0.7527, allocations: 56.66 kB / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7528, allocations: 0 / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7528, allocations: 0 / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7528, allocations: 0 / 1.231 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.7531, allocations: 381.3 kB / 1.231 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7531, allocations: 3.938 kB / 1.231 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.7531, allocations: 8 kB / 1.231 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.7531, allocations: 0 / 1.231 GB, free: 6.242 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.7532, allocations: 7.984 kB / 1.231 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7532, allocations: 0 / 1.231 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.7532, allocations: 0 / 1.231 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003916/0.7536, allocations: 260.7 kB / 1.231 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.7537, allocations: 140.8 kB / 1.232 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.7538, allocations: 4 kB / 1.232 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.7539, allocations: 15.98 kB / 1.232 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.754, allocations: 27.84 kB / 1.232 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.754, allocations: 4 kB / 1.232 GB, free: 5.754 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004071/0.7544, allocations: 426.8 kB / 1.232 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7544, allocations: 4 kB / 1.232 GB, free: 5.336 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002701/0.7547, allocations: 59.92 kB / 1.232 GB, free: 5.277 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.assMesDP.u,assPow.maxPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (PEleDem.tab.nextTimeEventScaled,assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001437/0.7561, allocations: 1.116 MB / 1.233 GB, free: 4.289 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.7564, allocations: 161.8 kB / 1.233 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7565, allocations: 0 / 1.233 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.7566, allocations: 59.98 kB / 1.233 GB, free: 4.074 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.757, allocations: 65.34 kB / 1.233 GB, free: 4.016 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003906/0.7609, allocations: 3.819 MB / 1.237 GB, free: 96 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.7613, allocations: 0.8572 MB / 1.238 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001167/0.7614, allocations: 46.25 kB / 1.238 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.7616, allocations: 159.4 kB / 1.238 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.7616, allocations: 4 kB / 1.238 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02595/0.7876, allocations: 9.219 MB / 1.247 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.622, allocations: 5.5 kB / 1.247 GB, free: 5.949 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches