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.009951/0.009951, allocations: 102 kB / 15.73 MB, free: 6.035 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.002042/0.002042, allocations: 199.4 kB / 16.68 MB, free: 5.957 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.608/1.608, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.3/2.3, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 67.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.047, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003651/1.051, allocations: 2.426 MB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002231/1.053, allocations: 1.507 MB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001841/1.053, allocations: 7.594 kB / 1.092 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006873/1.054, allocations: 233.5 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003943/1.054, allocations: 153 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/1.055, allocations: 191.5 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004634/1.055, allocations: 348.2 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/1.056, allocations: 94.58 kB / 1.093 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/1.056, allocations: 141.9 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002218/1.056, allocations: 159.5 kB / 1.093 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.333e-05/1.056, allocations: 25.31 kB / 1.093 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001919/1.056, allocations: 66.94 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/1.056, allocations: 121.2 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/1.057, allocations: 197.3 kB / 1.093 GB, free: 1.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006748/1.057, allocations: 0.4956 MB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.057, allocations: 4.719 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/1.057, allocations: 0 / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.586e-06/1.057, allocations: 1.547 kB / 1.094 GB, free: 1.699 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/1.059, allocations: 0.7992 MB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.059, allocations: 12.84 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/1.059, allocations: 59.75 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/1.059, allocations: 422.8 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/1.059, allocations: 13.78 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/1.059, allocations: 25.58 kB / 1.095 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002988/1.06, allocations: 143 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/1.06, allocations: 0 / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/1.06, allocations: 5.75 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/1.06, allocations: 3.297 kB / 1.095 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/1.06, allocations: 85.47 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/1.061, allocations: 0.6354 MB / 1.096 GB, free: 144 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/1.062, allocations: 134.2 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/1.062, allocations: 47.3 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/1.062, allocations: 2.375 kB / 1.096 GB, free: 52 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002505/1.062, allocations: 109.4 kB / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 3.286e-06/1.062, allocations: 0 / 1.096 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.0004933/1.062, allocations: 210.2 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/1.062, allocations: 56.53 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008911/1.063, allocations: 0.6447 MB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/1.063, allocations: 33.31 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/1.064, allocations: 261.5 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/1.064, allocations: 40.05 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.064, allocations: 58.38 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002249/1.064, allocations: 368.6 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/1.064, allocations: 76.03 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/1.065, allocations: 116.1 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/1.065, allocations: 134.7 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.065, allocations: 4.828 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005942/1.065, allocations: 266.8 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/1.066, allocations: 5.656 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.066, allocations: 0 / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.066, allocations: 2.484 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/1.066, allocations: 43.66 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.066, allocations: 1.344 kB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002323/1.066, allocations: 25.03 kB / 1.099 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/1.066, allocations: 14.88 kB / 1.099 GB, free: 14.6 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.0003059/1.066, allocations: 209.4 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/1.067, allocations: 56.38 kB / 1.099 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/1.067, allocations: 55.53 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/1.067, allocations: 1.844 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/1.067, allocations: 1.5 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.067, allocations: 0.7031 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/1.067, allocations: 372.5 kB / 1.099 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/1.067, allocations: 4 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/1.067, allocations: 16.81 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.067, allocations: 1.062 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/1.067, allocations: 2.531 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.067, allocations: 1.312 kB / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/1.067, allocations: 0 / 1.099 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/1.068, allocations: 268.7 kB / 1.1 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/1.068, allocations: 134.7 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.332e-05/1.068, allocations: 11.03 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/1.069, allocations: 11.56 kB / 1.1 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/1.069, allocations: 21.78 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/1.069, allocations: 8.594 kB / 1.1 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000865/1.07, allocations: 428.9 kB / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of sort global known variables: time 4.11e-07/1.07, allocations: 0 / 1.1 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004394/1.07, allocations: 53.5 kB / 1.1 GB, free: 13.63 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.001297/1.071, allocations: 420.6 kB / 1.101 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000438/1.072, allocations: 156.1 kB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.072, allocations: 0 / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000146/1.072, allocations: 56.98 kB / 1.101 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005328/1.072, allocations: 80.86 kB / 1.101 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/1.074, allocations: 0.8306 MB / 1.102 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/1.075, allocations: 0.8569 MB / 1.103 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001821/1.075, allocations: 43.72 kB / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/1.075, allocations: 28.03 kB / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/1.075, allocations: 0 / 1.103 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of Templates: time 0.01091/1.086, allocations: 4.155 MB / 1.107 GB, free: 11.77 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