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.001278/0.001278, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 176 kB / 16.58 MB, free: 6.863 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.523/1.523, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.899/2.899, allocations: 436.7 MB / 0.7113 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003858/0.000386, allocations: 12 kB / 0.8717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8358/0.8362, allocations: 153.7 MB / 1.022 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower): time 0.003251/0.8395, allocations: 2.056 MB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002678/0.8422, allocations: 1.386 MB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.8426, allocations: 0 / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007807/0.8434, allocations: 203.1 kB / 1.025 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005321/0.8439, allocations: 123.4 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.8446, allocations: 143.7 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006196/0.8452, allocations: 307 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.8455, allocations: 74.56 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.8458, allocations: 115.4 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.846, allocations: 131.3 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.003e-05/0.8461, allocations: 8 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.8463, allocations: 47.95 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.8465, allocations: 107.5 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.8466, allocations: 93.45 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000519/0.8471, allocations: 375.1 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.8471, allocations: 0 / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8472, allocations: 4 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8472, allocations: 0 / 1.027 GB, free: 11.91 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.001223/0.8484, allocations: 0.7466 MB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.8485, allocations: 15.98 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.239e-05/0.8486, allocations: 55.34 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.8491, allocations: 395.2 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.8492, allocations: 12.23 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.8492, allocations: 19.89 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.8495, allocations: 137.6 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8495, allocations: 0 / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.8495, allocations: 4 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.8496, allocations: 7.984 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.8497, allocations: 87.95 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.8508, allocations: 0.6523 MB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.8512, allocations: 122.7 kB / 1.029 GB, free: 9.516 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.8514, allocations: 52.78 kB / 1.029 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.8514, allocations: 4 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.8516, allocations: 115.2 kB / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.8516, allocations: 0 / 1.029 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12): time 0.0004625/0.8521, allocations: 205 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.8522, allocations: 55.41 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.8529, allocations: 0.6475 MB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.853, allocations: 29.7 kB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/0.8532, allocations: 264.4 kB / 1.03 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.8533, allocations: 31.56 kB / 1.03 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.8533, allocations: 4 kB / 1.03 GB, free: 8.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001968/0.8535, allocations: 370.8 kB / 1.031 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.8536, allocations: 71.97 kB / 1.031 GB, free: 7.629 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/0.8538, allocations: 135.1 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.854, allocations: 73.61 kB / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.854, allocations: 0 / 1.031 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004221/0.8544, allocations: 269.8 kB / 1.031 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.8544, allocations: 11.95 kB / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.8545, allocations: 0 / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.8545, allocations: 0 / 1.031 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/0.8547, allocations: 39.97 kB / 1.031 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.8547, allocations: 4.062 kB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.8549, allocations: 31.89 kB / 1.031 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.8549, allocations: 4 kB / 1.031 GB, free: 7.055 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.0002406/0.8552, allocations: 208.1 kB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.772e-05/0.8552, allocations: 55.34 kB / 1.032 GB, free: 6.789 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.8553, allocations: 60.61 kB / 1.032 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.8553, allocations: 0 / 1.032 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.8554, allocations: 4 kB / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.8554, allocations: 0 / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.8558, allocations: 377.3 kB / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8558, allocations: 0 / 1.032 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.8559, allocations: 19.86 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.8559, allocations: 4 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.8559, allocations: 0 / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8559, allocations: 3.953 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.8559, allocations: 8 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.8564, allocations: 256.3 kB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.8565, allocations: 128.5 kB / 1.032 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.8566, allocations: 4 kB / 1.032 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.8567, allocations: 19.98 kB / 1.032 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.8568, allocations: 27.98 kB / 1.032 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.579e-05/0.8568, allocations: 7.984 kB / 1.032 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005236/0.8573, allocations: 422.8 kB / 1.033 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8573, allocations: 0 / 1.033 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003044/0.8577, allocations: 63.84 kB / 1.033 GB, free: 5.328 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.001166/0.8588, allocations: 432.6 kB / 1.033 GB, free: 5.059 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003882/0.8592, allocations: 147.9 kB / 1.033 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.8592, allocations: 0 / 1.033 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.8594, allocations: 55.97 kB / 1.033 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.8599, allocations: 68.58 kB / 1.034 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.8614, allocations: 0.9796 MB / 1.034 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004935/0.8619, allocations: 0.8614 MB / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.432e-05/0.862, allocations: 31.42 kB / 1.035 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of SimCode: time 5.61e-07/0.862, allocations: 0 / 1.035 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of Templates: time 0.009241/0.8712, allocations: 5.426 MB / 1.041 GB, free: 13.46 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPowerCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPowerCalcHelperMain.o] Error 1