Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_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.00465/0.00465, allocations: 100.1 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.001108/0.001108, allocations: 190.2 kB / 16.67 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.325/1.325, 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 9.1.3-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.89 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7375, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003278/0.7408, allocations: 2.426 MB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001969/0.7428, allocations: 1.508 MB / 1.091 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.743, allocations: 7.938 kB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006237/0.7436, allocations: 233.7 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.744, allocations: 162.8 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.7445, allocations: 187 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003897/0.7449, allocations: 348.5 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.7451, allocations: 97.7 kB / 1.092 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.7453, allocations: 147 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.7455, allocations: 147.3 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.7455, allocations: 21.72 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.7457, allocations: 74.66 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.7458, allocations: 117 kB / 1.093 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001367/0.7459, allocations: 193 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005891/0.7465, allocations: 0.5015 MB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.7466, allocations: 0.7969 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7466, allocations: 4.906 kB / 1.093 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.7466, allocations: 0 / 1.093 GB, free: 1.453 MB / 0.8575 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.001122/0.7477, allocations: 0.8266 MB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.7477, allocations: 9.219 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.7478, allocations: 45.23 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.62e-05/0.7479, allocations: 64.97 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.7484, allocations: 433.6 kB / 1.095 GB, free: 368 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.7484, allocations: 15.47 kB / 1.095 GB, free: 360 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.7485, allocations: 12.62 kB / 1.095 GB, free: 356 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002698/0.7488, allocations: 138.9 kB / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.7488, allocations: 0 / 1.095 GB, free: 280 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.808e-05/0.7488, allocations: 6.031 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/0.7488, allocations: 3.156 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001902/0.749, allocations: 81.78 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.7501, allocations: 0.6435 MB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.7505, allocations: 129.9 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.7506, allocations: 46.91 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.7506, allocations: 2.516 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.7509, allocations: 114.3 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.7509, allocations: 0 / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0004737/0.7514, allocations: 206.1 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.7514, allocations: 56.59 kB / 1.096 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.7523, allocations: 0.6525 MB / 1.097 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.7523, allocations: 33.48 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.7525, allocations: 261.4 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.7526, allocations: 33.06 kB / 1.097 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.452e-05/0.7527, allocations: 52.77 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.7528, allocations: 373.1 kB / 1.098 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.753, allocations: 80.3 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.7532, allocations: 117.5 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.7534, allocations: 128.2 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7534, allocations: 0.6562 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004603/0.7539, allocations: 278.3 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.7539, allocations: 6.359 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7539, allocations: 0 / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.754, allocations: 6.625 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.7542, allocations: 39.27 kB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.7542, allocations: 1.859 kB / 1.098 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002038/0.7544, allocations: 29.11 kB / 1.098 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.7544, allocations: 6.234 kB / 1.098 GB, free: 14.28 MB / 0.8731 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.0002294/0.7546, allocations: 214.4 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.7547, allocations: 55.78 kB / 1.098 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.7548, allocations: 60.05 kB / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.7548, allocations: 2.344 kB / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7549, allocations: 0 / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7549, allocations: 0.6094 kB / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.7553, allocations: 375.3 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.7553, allocations: 5.578 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.262e-05/0.7554, allocations: 9.094 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.7554, allocations: 4.969 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7554, allocations: 2.375 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.7554, allocations: 5.922 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.7554, allocations: 4 kB / 1.099 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.7559, allocations: 268.3 kB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.756, allocations: 134.9 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.7561, allocations: 3.391 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.7562, allocations: 15.88 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.7563, allocations: 25.16 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.7563, allocations: 9.828 kB / 1.099 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005136/0.7569, allocations: 428.1 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7569, allocations: 0 / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003203/0.7572, allocations: 64.98 kB / 1.1 GB, free: 13.29 MB / 0.8731 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.001579/0.7588, allocations: 1.11 MB / 1.101 GB, free: 12.5 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003878/0.7592, allocations: 160.4 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7592, allocations: 0.75 kB / 1.101 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.7593, allocations: 56.8 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.7598, allocations: 73.3 kB / 1.101 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.7651, allocations: 3.793 MB / 1.105 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000453/0.7656, allocations: 0.857 MB / 1.106 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.7658, allocations: 48.05 kB / 1.106 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.766, allocations: 157.3 kB / 1.106 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of SimCode: time 8.52e-07/0.766, allocations: 0 / 1.106 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.7963, allocations: 9.207 MB / 1.115 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.32/9.116, allocations: 9.359 kB / 1.115 GB, free: 8.129 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches