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.0008258/0.0008257, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001281/0.001281, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.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.736/2.736, allocations: 437.7 MB / 0.7117 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003579, allocations: 11.94 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7741/0.7744, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003079/0.7776, allocations: 2.056 MB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002208/0.7798, allocations: 1.386 MB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.78, allocations: 7.938 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006518/0.7807, allocations: 199.1 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.7811, allocations: 127.5 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.7817, allocations: 151.6 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.7821, allocations: 302.9 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.7823, allocations: 66.66 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.7825, allocations: 119.4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.7827, allocations: 135.3 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.925e-05/0.7827, allocations: 4 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.7829, allocations: 47.97 kB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.783, allocations: 107.6 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.594e-05/0.7831, allocations: 97.39 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003947/0.7835, allocations: 375.1 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.7835, allocations: 4 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7835, allocations: 0 / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.7835, allocations: 0 / 1.027 GB, free: 10.84 MB / 0.7794 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.001124/0.7846, allocations: 0.7388 MB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.7847, allocations: 12.56 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.7848, allocations: 55.34 kB / 1.028 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005224/0.7853, allocations: 395.2 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.7854, allocations: 8.234 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.7854, allocations: 19.95 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002803/0.7857, allocations: 138.8 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7857, allocations: 0 / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.7858, allocations: 8 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.7858, allocations: 0 / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.7859, allocations: 87.89 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009785/0.7869, allocations: 0.6446 MB / 1.029 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.7873, allocations: 142.7 kB / 1.03 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.7874, allocations: 44.84 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.73e-05/0.7874, allocations: 0 / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002148/0.7877, allocations: 115.2 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.473e-06/0.7877, allocations: 4 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0004104/0.7881, allocations: 208.9 kB / 1.03 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.7881, allocations: 55.41 kB / 1.03 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007089/0.7889, allocations: 0.6397 MB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.7889, allocations: 33.7 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.7891, allocations: 260.4 kB / 1.031 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.7891, allocations: 35.55 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.7892, allocations: 0 / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.7893, allocations: 374.8 kB / 1.031 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.7894, allocations: 83.91 kB / 1.031 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.7896, allocations: 116.8 kB / 1.032 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.7898, allocations: 81.55 kB / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7898, allocations: 0 / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000387/0.7902, allocations: 271.2 kB / 1.032 GB, free: 6.094 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.7902, allocations: 12.02 kB / 1.032 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.7902, allocations: 4 kB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.7902, allocations: 4 kB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.7904, allocations: 39.91 kB / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.7904, allocations: 0 / 1.032 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/0.7906, allocations: 31.89 kB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.7906, allocations: 4 kB / 1.032 GB, free: 6 MB / 0.7794 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 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,assPow.assMesDP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002019/0.7908, allocations: 221.7 kB / 1.032 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.7909, allocations: 47.34 kB / 1.032 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.99e-05/0.791, allocations: 60.61 kB / 1.032 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.791, allocations: 4 kB / 1.032 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.791, allocations: 0 / 1.032 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.791, allocations: 0 / 1.032 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.7913, allocations: 381.3 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7913, allocations: 0 / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.75e-05/0.7914, allocations: 15.98 kB / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7914, allocations: 0 / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.7914, allocations: 0 / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.7914, allocations: 3.953 kB / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.7914, allocations: 4 kB / 1.033 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.7918, allocations: 260.3 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.56e-05/0.7919, allocations: 124.5 kB / 1.033 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.792, allocations: 7.984 kB / 1.033 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.7921, allocations: 20.05 kB / 1.033 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.788e-05/0.7922, allocations: 27.92 kB / 1.033 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.7922, allocations: 7.984 kB / 1.033 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004517/0.7927, allocations: 422.8 kB / 1.033 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7927, allocations: 0 / 1.033 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002937/0.793, allocations: 63.84 kB / 1.034 GB, free: 4.27 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009262/0.7939, allocations: 432.9 kB / 1.034 GB, free: 4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.7942, allocations: 147.9 kB / 1.034 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.7943, allocations: 0 / 1.034 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.7944, allocations: 63.89 kB / 1.034 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.7948, allocations: 64.83 kB / 1.034 GB, free: 3.73 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.796, allocations: 0.9321 MB / 1.035 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.7964, allocations: 0.8603 MB / 1.036 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001258/0.7965, allocations: 42.27 kB / 1.036 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.094e-05/0.7966, allocations: 27.42 kB / 1.036 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7966, allocations: 0 / 1.036 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of Templates: time 0.007919/0.8045, allocations: 3.621 MB / 1.04 GB, free: 14.23 MB / 0.795 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 -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/jenkins/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