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.001557/0.001558, allocations: 115 kB / 16.37 MB, free: 6.016 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.001769/0.001769, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 64.19 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3261, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004822/0.331, allocations: 2.442 MB / 1.029 GB, free: 15.6 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002456/0.3335, allocations: 1.507 MB / 1.031 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.3337, allocations: 11.88 kB / 1.031 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006143/0.3343, allocations: 227.3 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.3347, allocations: 155.2 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.3351, allocations: 191.5 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.3355, allocations: 342.9 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.3357, allocations: 88.7 kB / 1.032 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.3359, allocations: 139.3 kB / 1.032 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.3361, allocations: 159.2 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.3361, allocations: 20 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.3363, allocations: 67.95 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3364, allocations: 119.6 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.3367, allocations: 198.5 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000527/0.3372, allocations: 0.4981 MB / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3372, allocations: 0 / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3372, allocations: 0 / 1.033 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.3372, allocations: 0 / 1.033 GB, free: 11.89 MB / 0.8106 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.001321/0.3386, allocations: 0.8061 MB / 1.034 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3386, allocations: 8.031 kB / 1.034 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.794e-05/0.3387, allocations: 64.19 kB / 1.034 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.3393, allocations: 423.8 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.3393, allocations: 8.375 kB / 1.034 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.3394, allocations: 27.94 kB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.3397, allocations: 131 kB / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3397, allocations: 0 / 1.034 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.3397, allocations: 8 kB / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3397, allocations: 0 / 1.034 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002024/0.3399, allocations: 83.95 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.341, allocations: 0.6406 MB / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.3414, allocations: 138.6 kB / 1.035 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3415, allocations: 52.78 kB / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.114e-05/0.3416, allocations: 0 / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.3418, allocations: 107.3 kB / 1.035 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.3418, allocations: 4 kB / 1.035 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.000471/0.3423, allocations: 209 kB / 1.035 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.3424, allocations: 51.41 kB / 1.035 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007133/0.3431, allocations: 0.6514 MB / 1.036 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.3431, allocations: 33.69 kB / 1.036 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.3433, allocations: 256.4 kB / 1.036 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.3434, allocations: 35.55 kB / 1.036 GB, free: 7.973 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.3435, allocations: 61.59 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.3437, allocations: 366.8 kB / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.3438, allocations: 71.97 kB / 1.037 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.344, allocations: 117.4 kB / 1.037 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.3443, allocations: 139.2 kB / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3443, allocations: 0 / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004284/0.3447, allocations: 267.2 kB / 1.037 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3447, allocations: 8 kB / 1.037 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3447, allocations: 0 / 1.037 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3448, allocations: 0 / 1.037 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.3449, allocations: 47.91 kB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.345, allocations: 0 / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.3451, allocations: 31.86 kB / 1.037 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.3452, allocations: 4 kB / 1.037 GB, free: 6.848 MB / 0.8106 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.0002137/0.3454, allocations: 214.5 kB / 1.038 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/0.3454, allocations: 51.34 kB / 1.038 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.514e-05/0.3455, allocations: 60.64 kB / 1.038 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3456, allocations: 0 / 1.038 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3456, allocations: 0 / 1.038 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3456, allocations: 0 / 1.038 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003385/0.3459, allocations: 385.3 kB / 1.038 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3459, allocations: 0 / 1.038 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.346, allocations: 11.98 kB / 1.038 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.346, allocations: 0 / 1.038 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.346, allocations: 4 kB / 1.038 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.346, allocations: 0 / 1.038 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.346, allocations: 4 kB / 1.038 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.3465, allocations: 272.1 kB / 1.038 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001153/0.3466, allocations: 120.5 kB / 1.038 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.3467, allocations: 8 kB / 1.038 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.3468, allocations: 15.97 kB / 1.038 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.3469, allocations: 27.91 kB / 1.039 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.3469, allocations: 4 kB / 1.039 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004412/0.3473, allocations: 426.8 kB / 1.039 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3474, allocations: 0 / 1.039 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002896/0.3476, allocations: 59.94 kB / 1.039 GB, free: 5.125 MB / 0.8106 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.0009645/0.3486, allocations: 421.6 kB / 1.039 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003416/0.349, allocations: 147.9 kB / 1.04 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.349, allocations: 0 / 1.04 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001297/0.3491, allocations: 59.91 kB / 1.04 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.3496, allocations: 91.59 kB / 1.04 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3509, allocations: 0.8335 MB / 1.04 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004248/0.3513, allocations: 0.8572 MB / 1.041 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001275/0.3514, allocations: 50.25 kB / 1.041 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.889e-05/0.3515, allocations: 31.42 kB / 1.041 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.3515, allocations: 3.938 kB / 1.041 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of Templates: time 0.00858/0.3601, allocations: 4.017 MB / 1.045 GB, free: 14.77 MB / 0.8262 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 -s gbode -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","/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