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.01041/0.01041, allocations: 103.2 kB / 15.73 MB, free: 6.039 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.001859/0.001859, allocations: 191.2 kB / 16.67 MB, free: 5.953 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.228/2.228, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.88 kB / 0.9504 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7215/0.7229, 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.003314/0.7263, allocations: 2.44 MB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.7283, allocations: 1.505 MB / 1.091 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.7285, allocations: 7.531 kB / 1.091 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.7291, allocations: 230 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.7295, allocations: 156.5 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004399/0.7299, allocations: 191.7 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.7303, allocations: 343.8 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.7305, allocations: 94.66 kB / 1.092 GB, free: 2.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.7307, allocations: 141.7 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.7309, allocations: 155.7 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.7309, allocations: 21.03 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.7311, allocations: 66.45 kB / 1.093 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001436/0.7313, allocations: 125 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.7314, allocations: 192.7 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005519/0.732, allocations: 0.5063 MB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.732, allocations: 0 / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.732, allocations: 0.75 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.732, allocations: 0 / 1.093 GB, free: 1.445 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.001114/0.7331, allocations: 0.8036 MB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.7332, allocations: 10.28 kB / 1.094 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.201e-05/0.7332, allocations: 45.73 kB / 1.094 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.301e-05/0.7333, allocations: 55.22 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.7338, allocations: 426.6 kB / 1.095 GB, free: 400 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.7338, allocations: 13.84 kB / 1.095 GB, free: 392 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.7339, allocations: 14.03 kB / 1.095 GB, free: 388 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.7342, allocations: 138 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.7342, allocations: 0.8125 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.7342, allocations: 6.188 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.7342, allocations: 2.5 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.7344, allocations: 85.14 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001087/0.7355, allocations: 0.6394 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.7359, allocations: 139.1 kB / 1.096 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.736, allocations: 46.62 kB / 1.096 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.7361, allocations: 5.875 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000226/0.7363, allocations: 109.5 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 1.774e-06/0.7363, allocations: 1.188 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0004882/0.7368, allocations: 209.6 kB / 1.096 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.7369, allocations: 53.03 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008488/0.7377, allocations: 0.6482 MB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.7378, allocations: 32.67 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.738, allocations: 266.1 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.738, allocations: 32.33 kB / 1.097 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.31e-05/0.7381, allocations: 57.41 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7383, allocations: 372 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.7385, allocations: 80.28 kB / 1.098 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.7387, allocations: 111.7 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.7389, allocations: 132.7 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7389, allocations: 7.969 kB / 1.098 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004598/0.7394, allocations: 266 kB / 1.098 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.7394, allocations: 6.203 kB / 1.098 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7394, allocations: 1.156 kB / 1.098 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.7394, allocations: 1.688 kB / 1.098 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.7396, allocations: 39.33 kB / 1.098 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7397, allocations: 1.062 kB / 1.098 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.7399, allocations: 29.22 kB / 1.098 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.7399, allocations: 11.22 kB / 1.098 GB, free: 14.31 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.0002535/0.7402, allocations: 214.2 kB / 1.098 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-05/0.7402, allocations: 52.28 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.7404, allocations: 54.83 kB / 1.098 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.7404, allocations: 7.047 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.7404, allocations: 0 / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.7404, allocations: 0.6094 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.7409, allocations: 379.1 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7409, allocations: 4.75 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.741, allocations: 9.078 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.741, allocations: 1.766 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.741, allocations: 3.406 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.741, allocations: 0 / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.741, allocations: 1.125 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004776/0.7415, allocations: 267.8 kB / 1.099 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.7416, allocations: 130.5 kB / 1.099 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.086e-05/0.7417, allocations: 7.516 kB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001472/0.7418, allocations: 14.42 kB / 1.099 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.7419, allocations: 21.83 kB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.7419, allocations: 5.781 kB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005452/0.7425, allocations: 431.9 kB / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7425, allocations: 0 / 1.1 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003285/0.7428, allocations: 60.97 kB / 1.1 GB, free: 13.34 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.00166/0.7445, allocations: 1.115 MB / 1.101 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.7449, allocations: 153.3 kB / 1.101 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7449, allocations: 0 / 1.101 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.745, allocations: 57.27 kB / 1.101 GB, free: 12.47 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.7455, allocations: 87.81 kB / 1.101 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005508/0.751, allocations: 3.764 MB / 1.105 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004663/0.7515, allocations: 0.8532 MB / 1.106 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001634/0.7517, allocations: 40.34 kB / 1.106 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.7519, allocations: 161.8 kB / 1.106 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/0.752, allocations: 0 / 1.106 GB, free: 9.562 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.7839, allocations: 9.219 MB / 1.115 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.405/9.189, allocations: 13.48 kB / 1.115 GB, free: 8.195 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