Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009759/0.0009761, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.008263/0.008263, allocations: 175.8 kB / 16.27 MB, free: 6.613 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 443.3 MB / 0.7175 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003564, allocations: 8.5 kB / 0.8796 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3517, allocations: 155.2 MB / 1.031 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.002903/0.3547, allocations: 2.12 MB / 1.033 GB, free: 2.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002311/0.357, allocations: 1.46 MB / 1.035 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.3572, allocations: 7.938 kB / 1.035 GB, free: 0.7734 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006262/0.3579, allocations: 215.5 kB / 1.035 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.3582, allocations: 135.4 kB / 1.035 GB, free: 440 kB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.3587, allocations: 167.2 kB / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.3591, allocations: 323 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.3593, allocations: 88.7 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.3595, allocations: 115.2 kB / 1.036 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.3596, allocations: 139.3 kB / 1.036 GB, free: 15.61 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.3597, allocations: 8 kB / 1.036 GB, free: 15.6 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3598, allocations: 55.89 kB / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.36, allocations: 111.5 kB / 1.036 GB, free: 15.44 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.3602, allocations: 192.3 kB / 1.036 GB, free: 15.24 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.3606, allocations: 478 kB / 1.037 GB, free: 14.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3606, allocations: 0 / 1.037 GB, free: 14.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.814e-06/0.3606, allocations: 0 / 1.037 GB, free: 14.77 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3607, allocations: 0 / 1.037 GB, free: 14.77 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.001108/0.3618, allocations: 0.7388 MB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.3618, allocations: 12.03 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.235e-05/0.3619, allocations: 52.28 kB / 1.037 GB, free: 13.92 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.3624, allocations: 427.7 kB / 1.038 GB, free: 13.46 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.3625, allocations: 12.36 kB / 1.038 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.3625, allocations: 27.94 kB / 1.038 GB, free: 13.42 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.3628, allocations: 129.6 kB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.3628, allocations: 0 / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.3629, allocations: 8 kB / 1.038 GB, free: 13.28 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3629, allocations: 4 kB / 1.038 GB, free: 13.28 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.3631, allocations: 83.89 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.3641, allocations: 0.6486 MB / 1.039 GB, free: 12.5 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003722/0.3645, allocations: 134.6 kB / 1.039 GB, free: 12.36 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.566e-05/0.3646, allocations: 48.84 kB / 1.039 GB, free: 12.3 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3646, allocations: 3.984 kB / 1.039 GB, free: 12.3 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.3648, allocations: 115.2 kB / 1.039 GB, free: 12.18 MB / 0.795 GB Notification: Performance of pre-optimization done (n=12): time 1.933e-06/0.3649, allocations: 4 kB / 1.039 GB, free: 12.17 MB / 0.795 GB Notification: Performance of matching and sorting (n=12): time 0.0004261/0.3653, allocations: 212.8 kB / 1.039 GB, free: 11.96 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.3653, allocations: 55.34 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.3661, allocations: 0.6437 MB / 1.04 GB, free: 11.24 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.3661, allocations: 33.69 kB / 1.04 GB, free: 11.2 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.3663, allocations: 256.3 kB / 1.04 GB, free: 10.95 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.3664, allocations: 39.53 kB / 1.04 GB, free: 10.91 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.3664, allocations: 37.7 kB / 1.04 GB, free: 10.86 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3666, allocations: 370.8 kB / 1.041 GB, free: 10.49 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.3667, allocations: 71.97 kB / 1.041 GB, free: 10.42 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.3669, allocations: 116.9 kB / 1.041 GB, free: 10.3 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.3671, allocations: 128.5 kB / 1.041 GB, free: 10.17 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3671, allocations: 4.031 kB / 1.041 GB, free: 10.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004058/0.3675, allocations: 268.8 kB / 1.041 GB, free: 9.895 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3676, allocations: 8 kB / 1.041 GB, free: 9.887 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3676, allocations: 3.938 kB / 1.041 GB, free: 9.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3676, allocations: 0 / 1.041 GB, free: 9.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.3678, allocations: 43.92 kB / 1.041 GB, free: 9.84 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3678, allocations: 0 / 1.041 GB, free: 9.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.368, allocations: 39.91 kB / 1.041 GB, free: 9.801 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.3681, allocations: 4 kB / 1.041 GB, free: 9.797 MB / 0.795 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.0002103/0.3683, allocations: 205.7 kB / 1.041 GB, free: 9.586 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.3683, allocations: 55.33 kB / 1.041 GB, free: 9.531 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.829e-05/0.3684, allocations: 56.66 kB / 1.041 GB, free: 9.477 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3685, allocations: 4 kB / 1.041 GB, free: 9.473 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3685, allocations: 4 kB / 1.041 GB, free: 9.469 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3685, allocations: 4 kB / 1.041 GB, free: 9.465 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.3689, allocations: 377.3 kB / 1.042 GB, free: 9.047 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3689, allocations: 4 kB / 1.042 GB, free: 9.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.3689, allocations: 4 kB / 1.042 GB, free: 9.039 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.369, allocations: 4 kB / 1.042 GB, free: 9.035 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.369, allocations: 3.984 kB / 1.042 GB, free: 9.031 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.369, allocations: 0 / 1.042 GB, free: 9.031 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.369, allocations: 0 / 1.042 GB, free: 9.031 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004695/0.3695, allocations: 272.1 kB / 1.042 GB, free: 8.746 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.3696, allocations: 128.5 kB / 1.042 GB, free: 8.602 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.665e-05/0.3697, allocations: 0 / 1.042 GB, free: 8.602 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.3698, allocations: 19.98 kB / 1.042 GB, free: 8.582 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.3699, allocations: 23.97 kB / 1.042 GB, free: 8.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.3699, allocations: 7.984 kB / 1.042 GB, free: 8.551 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000512/0.3704, allocations: 426.8 kB / 1.043 GB, free: 8.137 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3704, allocations: 8 kB / 1.043 GB, free: 8.129 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003132/0.3708, allocations: 63.94 kB / 1.043 GB, free: 8.066 MB / 0.795 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.001183/0.372, allocations: 420.2 kB / 1.043 GB, free: 7.809 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.3723, allocations: 149.5 kB / 1.043 GB, free: 7.664 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3724, allocations: 0 / 1.043 GB, free: 7.664 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3725, allocations: 59.91 kB / 1.043 GB, free: 7.605 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.373, allocations: 83.77 kB / 1.043 GB, free: 7.523 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.3745, allocations: 0.9789 MB / 1.044 GB, free: 6.516 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.375, allocations: 0.8574 MB / 1.045 GB, free: 5.629 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.3751, allocations: 38.27 kB / 1.045 GB, free: 5.594 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.3752, allocations: 27.44 kB / 1.045 GB, free: 5.566 MB / 0.795 GB Notification: Performance of SimCode: time 3.61e-07/0.3752, allocations: 0 / 1.045 GB, free: 5.566 MB / 0.795 GB Notification: Performance of Templates: time 0.00936/0.3846, allocations: 3.704 MB / 1.049 GB, free: 1.891 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches