Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assWatMas.mWat_flow|per.mWatMin_flow|runSig.y|assWatMas.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 99.59 kB / 15.71 MB, free: 452 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.001319/0.00132, allocations: 173 kB / 16.58 MB, free: 6.422 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.474/1.474, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.912/2.912, allocations: 436.7 MB / 0.7113 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 12 kB / 0.8717 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8148/0.8152, allocations: 153.7 MB / 1.022 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003218/0.8185, allocations: 2.097 MB / 1.024 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.8211, allocations: 1.468 MB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.8213, allocations: 4 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00088/0.8222, allocations: 291 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.8226, allocations: 183.3 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.8232, allocations: 209.3 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.8236, allocations: 354.7 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.8238, allocations: 52.91 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.824, allocations: 143.3 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.8242, allocations: 143.3 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.8243, allocations: 8 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.8245, allocations: 59.89 kB / 1.027 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.8246, allocations: 115.6 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.8248, allocations: 89.45 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.8253, allocations: 377.1 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.8253, allocations: 7.938 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.875e-06/0.8253, allocations: 0 / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.8254, allocations: 0 / 1.027 GB, free: 11.51 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001319/0.8267, allocations: 0.756 MB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.8267, allocations: 11.98 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.64e-05/0.8268, allocations: 63.25 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005385/0.8274, allocations: 411.9 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.8274, allocations: 12.12 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.8274, allocations: 15.95 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.8277, allocations: 133 kB / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.8278, allocations: 0 / 1.029 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.8278, allocations: 4 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.8278, allocations: 4 kB / 1.029 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/0.828, allocations: 72.47 kB / 1.029 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.8289, allocations: 0.5861 MB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.8292, allocations: 130.8 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.8293, allocations: 44.84 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.8293, allocations: 0 / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.8295, allocations: 115.3 kB / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.8296, allocations: 0 / 1.029 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004915/0.8301, allocations: 235 kB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.8301, allocations: 85.06 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008424/0.831, allocations: 0.6798 MB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.831, allocations: 29.7 kB / 1.03 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.8313, allocations: 264.3 kB / 1.031 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.8313, allocations: 39.55 kB / 1.031 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.8313, allocations: 8 kB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002361/0.8316, allocations: 374.7 kB / 1.031 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.8317, allocations: 75.91 kB / 1.031 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.8319, allocations: 117.1 kB / 1.031 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.8321, allocations: 78.42 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.8321, allocations: 0 / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004202/0.8325, allocations: 261 kB / 1.032 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.8326, allocations: 8 kB / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.8326, allocations: 0 / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8326, allocations: 0 / 1.032 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.8327, allocations: 43.91 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.8328, allocations: 7.953 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.8329, allocations: 27.98 kB / 1.032 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.833, allocations: 4 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.mWat_flow.tab.nextTimeEvent,assWatMas.assMes.u,$PRE.assWatMas.hys.y,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002605/0.8332, allocations: 211.5 kB / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.285e-05/0.8333, allocations: 59.25 kB / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.8334, allocations: 57.05 kB / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.8334, allocations: 0 / 1.032 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.8334, allocations: 4 kB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.8334, allocations: 3.953 kB / 1.032 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.8338, allocations: 373.4 kB / 1.032 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8338, allocations: 0 / 1.032 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.8338, allocations: 7.984 kB / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8338, allocations: 0 / 1.032 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.8339, allocations: 8 kB / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8339, allocations: 0 / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8339, allocations: 0 / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.8342, allocations: 232.2 kB / 1.033 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.8343, allocations: 128.4 kB / 1.033 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.8344, allocations: 8 kB / 1.033 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.8345, allocations: 15.98 kB / 1.033 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.8346, allocations: 19.97 kB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.8346, allocations: 4 kB / 1.033 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005251/0.8352, allocations: 467 kB / 1.033 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8352, allocations: 4 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003162/0.8355, allocations: 67.84 kB / 1.033 GB, free: 4.879 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (runSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001215/0.8367, allocations: 438.6 kB / 1.034 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.8371, allocations: 151.9 kB / 1.034 GB, free: 4.457 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8371, allocations: 3.938 kB / 1.034 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.8373, allocations: 56.09 kB / 1.034 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.8378, allocations: 90.27 kB / 1.034 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.8392, allocations: 0.9632 MB / 1.035 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005516/0.8398, allocations: 0.8652 MB / 1.036 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.8399, allocations: 27.42 kB / 1.036 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8399, allocations: 0 / 1.036 GB, free: 2.395 MB / 0.7794 GB Notification: Performance of Templates: time 0.009201/0.8491, allocations: 5.735 MB / 1.041 GB, free: 12.69 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.makefile make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.AssertWaterFlowCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlowCalcHelperMain.o] Error 1