Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|optSta.tOpt|optSta.optOn|TSetHea.y|TSetCoo.y|optSta.TZon",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 102.6 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.00187/0.00187, allocations: 172.8 kB / 16.58 MB, free: 6.398 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.537/1.537, allocations: 223.3 MB / 240.6 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.895/2.895, allocations: 436.7 MB / 0.7113 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003615, allocations: 12 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8349/0.8353, allocations: 153.7 MB / 1.022 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.006767/0.8422, allocations: 5.131 MB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005577/0.8478, allocations: 2.689 MB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001476/0.8493, allocations: 43.81 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.8497, allocations: 83.17 kB / 1.029 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.85, allocations: 75.36 kB / 1.03 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001137/0.8511, allocations: 369.4 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008692/0.852, allocations: 0.7553 MB / 1.031 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.8525, allocations: 297.7 kB / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.8529, allocations: 214.9 kB / 1.031 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002915/0.8532, allocations: 242.5 kB / 1.031 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.8532, allocations: 24 kB / 1.031 GB, free: 7.141 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.8535, allocations: 103.9 kB / 1.031 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.8536, allocations: 99.48 kB / 1.032 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.8537, allocations: 145.2 kB / 1.032 GB, free: 6.793 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007026/0.8544, allocations: 0.746 MB / 1.032 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.8544, allocations: 0 / 1.032 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8545, allocations: 0 / 1.032 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.8545, allocations: 0 / 1.032 GB, free: 6.047 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00166/0.8561, allocations: 0.965 MB / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.8562, allocations: 12.03 kB / 1.033 GB, free: 5.012 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.8563, allocations: 90.97 kB / 1.033 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006134/0.857, allocations: 477.8 kB / 1.034 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.857, allocations: 53.27 kB / 1.034 GB, free: 4.363 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.641e-05/0.8571, allocations: 68 kB / 1.034 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.8581, allocations: 0.6075 MB / 1.035 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.8582, allocations: 4 kB / 1.035 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.856e-05/0.8582, allocations: 24 kB / 1.035 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.8582, allocations: 16 kB / 1.035 GB, free: 3.621 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008894/0.8591, allocations: 460.9 kB / 1.035 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/0.8622, allocations: 2.312 MB / 1.037 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.8641, allocations: 0.9438 MB / 1.038 GB, free: 15.75 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004047/0.8645, allocations: 254 kB / 1.039 GB, free: 15.5 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.8645, allocations: 12.23 kB / 1.039 GB, free: 15.49 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004842/0.865, allocations: 273.2 kB / 1.039 GB, free: 15.21 MB / 0.795 GB Notification: Performance of pre-optimization done (n=51): time 2.425e-06/0.865, allocations: 0 / 1.039 GB, free: 15.21 MB / 0.795 GB Notification: Performance of matching and sorting (n=51): time 0.001198/0.8662, allocations: 0.6194 MB / 1.039 GB, free: 14.58 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.8663, allocations: 111.2 kB / 1.04 GB, free: 14.45 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005244/0.8668, allocations: 486.7 kB / 1.04 GB, free: 13.97 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/0.8669, allocations: 41.7 kB / 1.04 GB, free: 13.92 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.8672, allocations: 348.1 kB / 1.04 GB, free: 13.57 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.8673, allocations: 159.3 kB / 1.041 GB, free: 13.42 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.8674, allocations: 12 kB / 1.041 GB, free: 13.41 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.8675, allocations: 370.8 kB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.868, allocations: 209.1 kB / 1.041 GB, free: 12.83 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.8685, allocations: 399.5 kB / 1.041 GB, free: 12.37 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.869, allocations: 263.8 kB / 1.042 GB, free: 12.11 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.869, allocations: 0 / 1.042 GB, free: 12.11 MB / 0.795 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001128/0.8701, allocations: 0.687 MB / 1.042 GB, free: 11.4 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001458/0.8703, allocations: 235.1 kB / 1.043 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.8703, allocations: 4 kB / 1.043 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.8703, allocations: 12 kB / 1.043 GB, free: 11.1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003841/0.8707, allocations: 107.8 kB / 1.043 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.8707, allocations: 8 kB / 1.043 GB, free: 10.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.8713, allocations: 131.4 kB / 1.043 GB, free: 10.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-05/0.8713, allocations: 35.92 kB / 1.043 GB, free: 10.82 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-06/0.8713, allocations: 0 / 1.043 GB, free: 10.82 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008896/0.8722, allocations: 0.5573 MB / 1.043 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.8722, allocations: 4.5 kB / 1.043 GB, free: 10.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.8723, allocations: 12 kB / 1.043 GB, free: 10.24 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003079/0.8726, allocations: 99.83 kB / 1.044 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.8726, allocations: 11.89 kB / 1.044 GB, free: 10.13 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.873, allocations: 115.4 kB / 1.044 GB, free: 10.02 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.8731, allocations: 31.98 kB / 1.044 GB, free: 9.984 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,conPID.con1.y,conPID1.con1.y,optSta.con3.y,optSta.con.y,optSta.optOn,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0003124/0.8734, allocations: 286.6 kB / 1.044 GB, free: 9.695 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.8735, allocations: 55.34 kB / 1.044 GB, free: 9.641 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.8736, allocations: 61.83 kB / 1.044 GB, free: 9.578 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.8736, allocations: 8 kB / 1.044 GB, free: 9.57 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.8736, allocations: 7.938 kB / 1.044 GB, free: 9.562 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.8737, allocations: 0 / 1.044 GB, free: 9.562 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/0.8754, allocations: 1.166 MB / 1.045 GB, free: 8.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.8754, allocations: 0 / 1.045 GB, free: 8.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.8757, allocations: 87.89 kB / 1.045 GB, free: 8.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.8758, allocations: 3.953 kB / 1.045 GB, free: 8.25 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.8758, allocations: 11.98 kB / 1.045 GB, free: 8.238 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.8758, allocations: 0 / 1.045 GB, free: 8.238 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8758, allocations: 4 kB / 1.045 GB, free: 8.234 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.8771, allocations: 0.7869 MB / 1.046 GB, free: 7.434 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.8772, allocations: 136.3 kB / 1.046 GB, free: 7.281 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/0.8773, allocations: 15.95 kB / 1.046 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.8776, allocations: 39.97 kB / 1.046 GB, free: 7.227 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.8776, allocations: 40.45 kB / 1.046 GB, free: 7.188 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.8777, allocations: 23.98 kB / 1.046 GB, free: 7.164 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0003883/0.8781, allocations: 318.9 kB / 1.047 GB, free: 6.855 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8781, allocations: 0 / 1.047 GB, free: 6.855 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008684/0.879, allocations: 279 kB / 1.047 GB, free: 6.582 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 11 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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.0002842/0.8793, allocations: 152.7 kB / 1.047 GB, free: 6.426 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001682/0.8809, allocations: 0.9644 MB / 1.048 GB, free: 5.43 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.881, allocations: 0 / 1.048 GB, free: 5.43 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.8814, allocations: 219.5 kB / 1.048 GB, free: 5.215 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006982/0.8821, allocations: 116.2 kB / 1.048 GB, free: 5.105 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.8841, allocations: 1.31 MB / 1.05 GB, free: 3.766 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.8846, allocations: 0.8985 MB / 1.051 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.8847, allocations: 47.42 kB / 1.051 GB, free: 2.789 MB / 0.795 GB Notification: Performance of SimCode: time 7.81e-07/0.8847, allocations: 0 / 1.051 GB, free: 2.789 MB / 0.795 GB Notification: Performance of Templates: time 0.01529/0.9, allocations: 7.831 MB / 1.058 GB, free: 11 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCoolingCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCoolingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCoolingCalcHelperMain.o] Error 1