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: 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_9_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_9_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.008346/0.008346, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001709/0.001709, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.503/1.503, allocations: 222.9 MB / 240.3 MB, free: 15.16 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.406/2.406, allocations: 390.2 MB / 0.6648 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 67.91 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003708/1.031, allocations: 2.419 MB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002184/1.033, allocations: 1.508 MB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/1.033, allocations: 4.219 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006666/1.034, allocations: 237.5 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003978/1.034, allocations: 158 kB / 1.092 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/1.035, allocations: 199.5 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004046/1.035, allocations: 348.8 kB / 1.093 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000204/1.035, allocations: 94.09 kB / 1.093 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002079/1.035, allocations: 137.6 kB / 1.093 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/1.036, allocations: 163.8 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/1.036, allocations: 21.44 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/1.036, allocations: 63.36 kB / 1.093 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/1.036, allocations: 128.6 kB / 1.093 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001628/1.036, allocations: 189.7 kB / 1.093 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006422/1.037, allocations: 0.5075 MB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/1.037, allocations: 3.938 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.334e-06/1.037, allocations: 1.656 kB / 1.094 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.037, allocations: 0 / 1.094 GB, free: 1.676 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.001194/1.038, allocations: 0.7946 MB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.038, allocations: 14.53 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/1.038, allocations: 58.69 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/1.039, allocations: 426 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/1.039, allocations: 11.44 kB / 1.095 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.449e-05/1.039, allocations: 17.06 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/1.039, allocations: 138.6 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/1.039, allocations: 0 / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/1.039, allocations: 6.547 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/1.039, allocations: 2.656 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/1.039, allocations: 90.34 kB / 1.095 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/1.041, allocations: 0.6304 MB / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000418/1.041, allocations: 138.6 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/1.041, allocations: 46.72 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/1.041, allocations: 2.844 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/1.041, allocations: 101.5 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 3.406e-06/1.041, allocations: 0.875 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0005243/1.042, allocations: 213.3 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/1.042, allocations: 57 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009538/1.043, allocations: 0.6444 MB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/1.043, allocations: 33.75 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/1.043, allocations: 262 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/1.043, allocations: 39.95 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/1.043, allocations: 54.19 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.044, allocations: 368 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/1.044, allocations: 75.23 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001997/1.044, allocations: 118.9 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/1.044, allocations: 143 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.044, allocations: 1.062 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004671/1.045, allocations: 261.5 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.045, allocations: 5.938 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/1.045, allocations: 6.031 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/1.045, allocations: 1.344 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/1.045, allocations: 42.8 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/1.045, allocations: 1.094 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/1.045, allocations: 25.83 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/1.045, allocations: 11.25 kB / 1.099 GB, free: 14.59 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.0002331/1.045, allocations: 213.6 kB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/1.046, allocations: 58.72 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/1.046, allocations: 56.66 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.046, allocations: 2.188 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.046, allocations: 0.75 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/1.046, allocations: 0.6094 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004584/1.046, allocations: 375.8 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.046, allocations: 0.6094 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/1.046, allocations: 12.58 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.046, allocations: 1.094 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/1.046, allocations: 2.844 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.046, allocations: 4.781 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.046, allocations: 1.375 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/1.047, allocations: 271.3 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/1.047, allocations: 126.8 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.103e-05/1.047, allocations: 6.922 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/1.047, allocations: 11.47 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/1.047, allocations: 21.06 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/1.047, allocations: 13.3 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006784/1.048, allocations: 428.4 kB / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.048, allocations: 0 / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003381/1.048, allocations: 52.84 kB / 1.1 GB, free: 13.62 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.001061/1.049, allocations: 423.7 kB / 1.101 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004102/1.05, allocations: 157.1 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/1.05, allocations: 0 / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/1.05, allocations: 60.84 kB / 1.101 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/1.05, allocations: 80.44 kB / 1.101 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/1.052, allocations: 0.823 MB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/1.053, allocations: 0.8569 MB / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001515/1.053, allocations: 39.28 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.603e-05/1.053, allocations: 28.11 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/1.053, allocations: 4.75 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of Templates: time 0.01061/1.063, allocations: 4.06 MB / 1.107 GB, free: 11.79 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (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 & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/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