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.009447/0.009447, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001862/0.001862, allocations: 196.7 kB / 16.68 MB, free: 5.93 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.419/2.419, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 59.91 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8753/0.8767, 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.003516/0.8803, allocations: 2.426 MB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.8824, allocations: 1.515 MB / 1.092 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.8826, allocations: 7.562 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.8832, allocations: 229.9 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.8836, allocations: 157.5 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.884, allocations: 187.6 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.8844, allocations: 354.7 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.8846, allocations: 94.25 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.8848, allocations: 130.3 kB / 1.093 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.885, allocations: 163.6 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.885, allocations: 21 kB / 1.093 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001586/0.8852, allocations: 67.22 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.8854, allocations: 123.9 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.8855, allocations: 193.4 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006006/0.8861, allocations: 0.5001 MB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8861, allocations: 0.6094 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8861, allocations: 0.9375 kB / 1.094 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.8862, allocations: 0 / 1.094 GB, free: 1.68 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.001228/0.8874, allocations: 0.7994 MB / 1.095 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.8874, allocations: 13 kB / 1.095 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.8876, allocations: 60.5 kB / 1.095 GB, free: 1 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.8881, allocations: 422 kB / 1.095 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.8881, allocations: 9.688 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.8882, allocations: 18.14 kB / 1.095 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000305/0.8885, allocations: 146.2 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.8885, allocations: 0.625 kB / 1.095 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.171e-05/0.8885, allocations: 5.375 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.8886, allocations: 3.672 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.8888, allocations: 81.41 kB / 1.095 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.8899, allocations: 0.6392 MB / 1.096 GB, free: 132 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004157/0.8903, allocations: 134 kB / 1.096 GB, free: 64 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.8904, allocations: 47.12 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.8905, allocations: 2.391 kB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.8907, allocations: 106.2 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 3.196e-06/0.8907, allocations: 0 / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0004983/0.8912, allocations: 213.6 kB / 1.097 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.8913, allocations: 56.84 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008225/0.8921, allocations: 0.6452 MB / 1.097 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.8921, allocations: 32.58 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.8924, allocations: 257.7 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.8924, allocations: 48.89 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.8925, allocations: 53.12 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.8927, allocations: 368.5 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.8929, allocations: 75.23 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.8931, allocations: 114.4 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.8934, allocations: 141.5 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8934, allocations: 0.7969 kB / 1.098 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004921/0.8939, allocations: 265 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.8939, allocations: 11.55 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.8939, allocations: 1.062 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.894, allocations: 1.312 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.8942, allocations: 39.58 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.8942, allocations: 5.078 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.8944, allocations: 30.36 kB / 1.099 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.823e-05/0.8944, allocations: 9.859 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.0002278/0.8947, allocations: 214.5 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.8947, allocations: 52.34 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.8949, allocations: 56 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.8949, allocations: 1.75 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.8949, allocations: 4 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.8949, allocations: 0.7031 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.8953, allocations: 371.9 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8953, allocations: 0.6094 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.776e-05/0.8954, allocations: 13.89 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.8954, allocations: 0 / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.8955, allocations: 2.688 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8955, allocations: 5.469 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8955, allocations: 1.125 kB / 1.099 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.8959, allocations: 268.3 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/0.8961, allocations: 126.4 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.331e-05/0.8961, allocations: 6.859 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.8963, allocations: 11.28 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.8964, allocations: 26.84 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.8964, allocations: 4.406 kB / 1.1 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005627/0.897, allocations: 427.9 kB / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.897, allocations: 1.219 kB / 1.1 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003433/0.8973, allocations: 56.45 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.001016/0.8983, allocations: 434.8 kB / 1.101 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000382/0.8987, allocations: 153.2 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8987, allocations: 0 / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.8989, allocations: 52.62 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.000499/0.8994, allocations: 86.14 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.001498/0.9009, allocations: 0.8262 MB / 1.102 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000579/0.9015, allocations: 0.858 MB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.9017, allocations: 39.19 kB / 1.103 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.144e-05/0.9018, allocations: 31.83 kB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of SimCode: time 8.51e-07/0.9018, allocations: 0.5312 kB / 1.103 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of Templates: time 0.01157/0.9133, allocations: 4.057 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