Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.00148/0.001481, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.00158/0.00158, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002285/0.002285, allocations: 65.09 kB / 0.8707 GB, free: 1.52 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3526, allocations: 151.6 MB / 1.019 GB, free: 9.926 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.004215/0.3569, allocations: 2.46 MB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002465/0.3594, allocations: 1.499 MB / 1.023 GB, free: 5.941 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.3597, allocations: 7.938 kB / 1.023 GB, free: 5.934 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007305/0.3604, allocations: 230.8 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.3609, allocations: 151.7 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005125/0.3615, allocations: 196.3 kB / 1.023 GB, free: 5.371 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004671/0.3619, allocations: 342.9 kB / 1.024 GB, free: 5.035 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.3622, allocations: 92.7 kB / 1.024 GB, free: 4.941 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.3624, allocations: 135.3 kB / 1.024 GB, free: 4.809 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3627, allocations: 155.3 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.3627, allocations: 24 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.3629, allocations: 67.91 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.363, allocations: 127.5 kB / 1.024 GB, free: 4.441 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.3632, allocations: 186.6 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.3638, allocations: 0.4982 MB / 1.025 GB, free: 3.758 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3638, allocations: 4 kB / 1.025 GB, free: 3.754 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3638, allocations: 3.938 kB / 1.025 GB, free: 3.75 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.3638, allocations: 0 / 1.025 GB, free: 3.75 MB / 0.795 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.001296/0.3651, allocations: 0.7968 MB / 1.026 GB, free: 2.902 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3652, allocations: 12.92 kB / 1.026 GB, free: 2.891 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.3653, allocations: 60.19 kB / 1.026 GB, free: 2.832 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006285/0.3659, allocations: 427.8 kB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.366, allocations: 12.38 kB / 1.026 GB, free: 2.363 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.384e-05/0.366, allocations: 15.94 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.3663, allocations: 138.5 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3664, allocations: 0 / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.3664, allocations: 4 kB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.3664, allocations: 8 kB / 1.026 GB, free: 2.195 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.3666, allocations: 79.97 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.3677, allocations: 0.6444 MB / 1.027 GB, free: 1.422 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.3681, allocations: 134.7 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3682, allocations: 48.84 kB / 1.027 GB, free: 1.23 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.3682, allocations: 4 kB / 1.027 GB, free: 1.227 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.3685, allocations: 103.3 kB / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.3685, allocations: 0 / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0004639/0.3689, allocations: 217.2 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.369, allocations: 55.41 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007141/0.3697, allocations: 0.6476 MB / 1.028 GB, free: 176 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.3698, allocations: 37.69 kB / 1.028 GB, free: 132 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.37, allocations: 256.4 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.3701, allocations: 35.48 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3702, allocations: 57.59 kB / 1.028 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3704, allocations: 366.8 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.3705, allocations: 83.91 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001761/0.3707, allocations: 122.1 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002124/0.3709, allocations: 132.5 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3709, allocations: 0 / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004153/0.3714, allocations: 268.8 kB / 1.029 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3714, allocations: 4 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.3714, allocations: 4 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3714, allocations: 4.062 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.3717, allocations: 39.91 kB / 1.029 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3717, allocations: 4 kB / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001726/0.3718, allocations: 27.83 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.3719, allocations: 4 kB / 1.029 GB, free: 14.71 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.0002092/0.3721, allocations: 209.7 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.3722, allocations: 51.34 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.47e-05/0.3723, allocations: 60.66 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3723, allocations: 7.938 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3723, allocations: 0 / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3723, allocations: 3.938 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.3726, allocations: 381.3 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3727, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.988e-05/0.3727, allocations: 11.98 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3727, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.3728, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3728, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3728, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004525/0.3732, allocations: 264.3 kB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.3734, allocations: 124.5 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.3734, allocations: 3.938 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.3736, allocations: 27.91 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.573e-05/0.3736, allocations: 23.97 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3737, allocations: 4 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004737/0.3741, allocations: 430.8 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.91e-07/0.3741, allocations: 0 / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003063/0.3745, allocations: 63.84 kB / 1.031 GB, free: 12.98 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.001023/0.3755, allocations: 411.2 kB / 1.031 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003438/0.3758, allocations: 155.8 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3759, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.376, allocations: 63.97 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004402/0.3764, allocations: 80.31 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.378, allocations: 0.8412 MB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.3786, allocations: 0.8533 MB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000149/0.3787, allocations: 42.25 kB / 1.033 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.699e-05/0.3788, allocations: 35.42 kB / 1.033 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of SimCode: time 5.61e-07/0.3788, allocations: 0 / 1.033 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of Templates: time 0.01025/0.3891, allocations: 4.01 MB / 1.037 GB, free: 6.641 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches