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.00786/0.00786, allocations: 96.31 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.001786/0.001786, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.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.531/2.531, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 59.16 kB / 0.9508 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3266, allocations: 140.4 MB / 1.088 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004257/0.3309, allocations: 2.435 MB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002437/0.3333, allocations: 1.491 MB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002087/0.3336, allocations: 7.938 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007784/0.3343, allocations: 235.3 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004357/0.3348, allocations: 167.2 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.3354, allocations: 188.5 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004136/0.3358, allocations: 350.9 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002271/0.336, allocations: 88.45 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.3362, allocations: 151.3 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001857/0.3364, allocations: 151.3 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.3365, allocations: 20 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.3367, allocations: 71.91 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.3368, allocations: 127.5 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.337, allocations: 182.7 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.3376, allocations: 0.5054 MB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3376, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3376, allocations: 0 / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3376, allocations: 4 kB / 1.094 GB, free: 11.42 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.001278/0.3389, allocations: 0.8276 MB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.339, allocations: 8.031 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.3391, allocations: 60.56 kB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.3396, allocations: 432.4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.3397, allocations: 8.375 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.455e-05/0.3397, allocations: 19.94 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00029/0.34, allocations: 141.5 kB / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.34, allocations: 0 / 1.095 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.3401, allocations: 8 kB / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.3401, allocations: 0 / 1.095 GB, free: 9.836 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.3403, allocations: 79.97 kB / 1.095 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.3413, allocations: 0.6407 MB / 1.096 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.3418, allocations: 134.7 kB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.9e-05/0.3419, allocations: 52.84 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.3419, allocations: 0 / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.3421, allocations: 111.2 kB / 1.096 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.3421, allocations: 4 kB / 1.096 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0004882/0.3426, allocations: 213.2 kB / 1.097 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.3427, allocations: 55.39 kB / 1.097 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007301/0.3434, allocations: 0.6437 MB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.3435, allocations: 33.7 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.3437, allocations: 264.5 kB / 1.098 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.3437, allocations: 35.73 kB / 1.098 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/0.3438, allocations: 53.7 kB / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.344, allocations: 370.8 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.3442, allocations: 71.97 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.3444, allocations: 127.3 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.3446, allocations: 131.2 kB / 1.098 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3446, allocations: 0 / 1.098 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004296/0.3451, allocations: 271.5 kB / 1.099 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.3451, allocations: 8 kB / 1.099 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.3451, allocations: 0 / 1.099 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3451, allocations: 0 / 1.099 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.3453, allocations: 39.92 kB / 1.099 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3453, allocations: 4.062 kB / 1.099 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.3455, allocations: 35.8 kB / 1.099 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3456, allocations: 8 kB / 1.099 GB, free: 6.344 MB / 0.8575 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.0002257/0.3458, allocations: 210.2 kB / 1.099 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.3459, allocations: 55.62 kB / 1.099 GB, free: 6.074 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.346, allocations: 60.66 kB / 1.099 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.346, allocations: 0 / 1.099 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.346, allocations: 4 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.346, allocations: 0 / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.3464, allocations: 377.3 kB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3464, allocations: 0 / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.3464, allocations: 11.94 kB / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3465, allocations: 0 / 1.099 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.3465, allocations: 11.98 kB / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3465, allocations: 0 / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3465, allocations: 0 / 1.099 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.347, allocations: 264.6 kB / 1.1 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.3471, allocations: 128.8 kB / 1.1 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.3471, allocations: 8 kB / 1.1 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.3473, allocations: 11.98 kB / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.3474, allocations: 27.89 kB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.3474, allocations: 11.98 kB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0004535/0.3479, allocations: 426.8 kB / 1.1 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3479, allocations: 4.062 kB / 1.1 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000296/0.3482, allocations: 59.89 kB / 1.1 GB, free: 4.613 MB / 0.8575 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.001002/0.3492, allocations: 423.7 kB / 1.101 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003561/0.3495, allocations: 159.8 kB / 1.101 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3496, allocations: 0 / 1.101 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3497, allocations: 59.91 kB / 1.101 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000445/0.3501, allocations: 77.97 kB / 1.101 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.3515, allocations: 0.8421 MB / 1.102 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.3519, allocations: 0.8572 MB / 1.103 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001185/0.352, allocations: 42.27 kB / 1.103 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.3521, allocations: 27.42 kB / 1.103 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3521, allocations: 3.938 kB / 1.103 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of Templates: time 0.008854/0.361, allocations: 4.056 MB / 1.107 GB, free: 14.21 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