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.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.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 100.5 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.001575/0.001575, allocations: 177.3 kB / 15.94 MB, free: 228 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.5/1.5, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.826/2.826, allocations: 436.5 MB / 0.7104 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004082, allocations: 12 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8249/0.8254, allocations: 153.7 MB / 1.021 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002868/0.8283, allocations: 2.041 MB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002053/0.8304, allocations: 1.367 MB / 1.024 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.8305, allocations: 7.938 kB / 1.024 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.8312, allocations: 191.3 kB / 1.024 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003137/0.8315, allocations: 147.5 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.8319, allocations: 142.5 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.8322, allocations: 227.5 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.8324, allocations: 66.58 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001757/0.8326, allocations: 123.5 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.8328, allocations: 131.4 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.8328, allocations: 4 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.8329, allocations: 43.95 kB / 1.025 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.8331, allocations: 107.6 kB / 1.025 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.701e-05/0.8332, allocations: 93.45 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.8336, allocations: 387 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.8336, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8336, allocations: 0 / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.8336, allocations: 3.938 kB / 1.026 GB, free: 12 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0012/0.8348, allocations: 0.7311 MB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.8348, allocations: 15.98 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.8349, allocations: 51.34 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005865/0.8355, allocations: 403.1 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.8356, allocations: 8.234 kB / 1.027 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.8356, allocations: 19.95 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/0.8359, allocations: 145.5 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.836, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.836, allocations: 8 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.836, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.8362, allocations: 79.97 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.8373, allocations: 0.6562 MB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.8376, allocations: 130.7 kB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.8377, allocations: 4 kB / 1.028 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.8379, allocations: 111.2 kB / 1.028 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.8379, allocations: 0 / 1.028 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0004012/0.8383, allocations: 209.1 kB / 1.028 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.8384, allocations: 51.41 kB / 1.028 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006639/0.8391, allocations: 0.6475 MB / 1.029 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.8391, allocations: 33.69 kB / 1.029 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.8393, allocations: 256.4 kB / 1.029 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.8394, allocations: 39.55 kB / 1.029 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.8394, allocations: 11.94 kB / 1.029 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8395, allocations: 366.8 kB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.8397, allocations: 75.95 kB / 1.03 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.8399, allocations: 119.2 kB / 1.03 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.8401, allocations: 69.62 kB / 1.03 GB, free: 7.578 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8401, allocations: 4.031 kB / 1.03 GB, free: 7.574 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003716/0.8405, allocations: 269.6 kB / 1.03 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.8405, allocations: 7.953 kB / 1.03 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.8405, allocations: 4 kB / 1.03 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.8405, allocations: 0 / 1.03 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.8407, allocations: 31.98 kB / 1.03 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.8407, allocations: 7.938 kB / 1.03 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.8409, allocations: 35.91 kB / 1.03 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.8409, allocations: 12 kB / 1.03 GB, free: 7.207 MB / 0.7794 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001919/0.8411, allocations: 201.7 kB / 1.03 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.466e-05/0.8412, allocations: 55.33 kB / 1.03 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.003e-05/0.8413, allocations: 64.61 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.8413, allocations: 0 / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8413, allocations: 0 / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.8413, allocations: 0 / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.8416, allocations: 385.2 kB / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8416, allocations: 0 / 1.031 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-05/0.8417, allocations: 11.94 kB / 1.031 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8417, allocations: 0 / 1.031 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.8417, allocations: 11.98 kB / 1.031 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.8417, allocations: 3.953 kB / 1.031 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8417, allocations: 0 / 1.031 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.8421, allocations: 248.4 kB / 1.031 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.8424, allocations: 128.5 kB / 1.031 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.8424, allocations: 8 kB / 1.031 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.8426, allocations: 15.98 kB / 1.031 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.8426, allocations: 27.91 kB / 1.031 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.8427, allocations: 7.938 kB / 1.031 GB, free: 5.965 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004478/0.8431, allocations: 430.8 kB / 1.032 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8431, allocations: 3.938 kB / 1.032 GB, free: 5.543 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002835/0.8434, allocations: 63.91 kB / 1.032 GB, free: 5.48 MB / 0.7794 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 (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.0009968/0.8444, allocations: 418.8 kB / 1.032 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.8447, allocations: 157.6 kB / 1.032 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8447, allocations: 0 / 1.032 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.8449, allocations: 55.92 kB / 1.032 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.8452, allocations: 72.06 kB / 1.032 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.8465, allocations: 0.9284 MB / 1.033 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.847, allocations: 0.8691 MB / 1.034 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.8471, allocations: 42.25 kB / 1.034 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.612e-05/0.8472, allocations: 31.36 kB / 1.034 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8472, allocations: 0 / 1.034 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of Templates: time 0.007855/0.8551, allocations: 3.615 MB / 1.038 GB, free: 15.44 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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 & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches