Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 99.42 kB / 16.02 MB, free: 76 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.001833/0.001833, allocations: 185.1 kB / 16.92 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.014/2.014, allocations: 205.4 MB / 223.1 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.827/1.827, allocations: 292.7 MB / 0.5509 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005653/0.0005653, allocations: 16.94 kB / 0.675 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3199, allocations: 116.3 MB / 0.7885 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002763/0.3227, allocations: 1.77 MB / 0.7903 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3242, allocations: 0.7413 MB / 0.791 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.3243, allocations: 4 kB / 0.791 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.3245, allocations: 23.8 kB / 0.791 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.3246, allocations: 35.7 kB / 0.7911 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.3251, allocations: 139.9 kB / 0.7912 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004825/0.3256, allocations: 363.2 kB / 0.7915 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.326, allocations: 196.3 kB / 0.7917 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.3262, allocations: 107.5 kB / 0.7918 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.3265, allocations: 119.3 kB / 0.7919 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.483e-05/0.3265, allocations: 12 kB / 0.792 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.3266, allocations: 23.98 kB / 0.792 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.614e-05/0.3267, allocations: 55.75 kB / 0.792 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.3268, allocations: 144.9 kB / 0.7922 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.3272, allocations: 307.5 kB / 0.7925 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3272, allocations: 0 / 0.7925 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3272, allocations: 0 / 0.7925 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.3272, allocations: 0 / 0.7925 GB, free: 7.512 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0008364/0.3281, allocations: 0.5106 MB / 0.793 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.3281, allocations: 8.031 kB / 0.793 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.3282, allocations: 32.56 kB / 0.793 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.3285, allocations: 275.7 kB / 0.7933 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.3285, allocations: 24.94 kB / 0.7933 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.3286, allocations: 32.38 kB / 0.7933 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/0.3292, allocations: 323.7 kB / 0.7936 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3292, allocations: 0 / 0.7936 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.3293, allocations: 8 kB / 0.7936 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.3293, allocations: 11.98 kB / 0.7936 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.3298, allocations: 250.1 kB / 0.7939 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.3313, allocations: 0.9519 MB / 0.7948 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000532/0.3319, allocations: 255.5 kB / 0.7951 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.3321, allocations: 121.3 kB / 0.7952 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.3321, allocations: 4.234 kB / 0.7952 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.3325, allocations: 160 kB / 0.7953 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.3325, allocations: 4 kB / 0.7953 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.0007303/0.3332, allocations: 337.8 kB / 0.7957 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.3333, allocations: 59.34 kB / 0.7957 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.3335, allocations: 204 kB / 0.7959 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.475e-05/0.3336, allocations: 41.7 kB / 0.7959 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3337, allocations: 156.6 kB / 0.7961 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.116e-05/0.3338, allocations: 74.94 kB / 0.7962 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.3338, allocations: 53.69 kB / 0.7962 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.334, allocations: 334.8 kB / 0.7965 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.3342, allocations: 95.95 kB / 0.7966 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.3345, allocations: 161 kB / 0.7968 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.3349, allocations: 220.8 kB / 0.797 GB, free: 2.605 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3349, allocations: 3.938 kB / 0.797 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005491/0.3354, allocations: 324.4 kB / 0.7973 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3355, allocations: 4 kB / 0.7973 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3355, allocations: 4 kB / 0.7973 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3355, allocations: 3.984 kB / 0.7973 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.3357, allocations: 55.78 kB / 0.7974 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.3357, allocations: 4 kB / 0.7974 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000267/0.336, allocations: 55.88 kB / 0.7974 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.336, allocations: 12 kB / 0.7974 GB, free: 2.141 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001947/0.3362, allocations: 174.3 kB / 0.7976 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.472e-05/0.3363, allocations: 31.66 kB / 0.7976 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006794/0.337, allocations: 284.1 kB / 0.7979 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.337, allocations: 4 kB / 0.7979 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.337, allocations: 0 / 0.7979 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.337, allocations: 3.984 kB / 0.7979 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.338, allocations: 0.7379 MB / 0.7986 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.338, allocations: 0 / 0.7986 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.3382, allocations: 31.98 kB / 0.7987 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3382, allocations: 7.984 kB / 0.7987 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.3382, allocations: 4 kB / 0.7987 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3382, allocations: 4 kB / 0.7987 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/0.3382, allocations: 7.922 kB / 0.7987 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.3387, allocations: 363.6 kB / 0.799 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.3388, allocations: 96.77 kB / 0.7991 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.3389, allocations: 11.98 kB / 0.7991 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.3391, allocations: 31.97 kB / 0.7992 GB, free: 268 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.3392, allocations: 39.89 kB / 0.7992 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.3392, allocations: 16 kB / 0.7992 GB, free: 212 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001126/0.3393, allocations: 140.1 kB / 0.7994 GB, free: 72 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3393, allocations: 0 / 0.7994 GB, free: 72 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003051/0.3396, allocations: 63.84 kB / 0.7994 GB, free: 8 kB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000187/0.3398, allocations: 117 kB / 0.7995 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005527/0.3404, allocations: 259.8 kB / 0.7998 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3404, allocations: 0 / 0.7998 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000302/0.3407, allocations: 127.9 kB / 0.7999 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3411, allocations: 46.66 kB / 0.7999 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000888/0.342, allocations: 0.5792 MB / 0.8005 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3424, allocations: 0.7605 MB / 0.8012 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.484e-05/0.3425, allocations: 27.42 kB / 0.8013 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.3425, allocations: 7.938 kB / 0.8013 GB, free: 14.03 MB / 0.6231 GB Notification: Performance of Templates: time 0.00569/0.3482, allocations: 3.344 MB / 0.8045 GB, free: 10.7 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ReheatCalcHelperMain.o OMCppBuildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ReheatCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ReheatCalcHelperMain.o] Error 1