Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.000928, allocations: 91.92 kB / 16.02 MB, free: 80 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.001004/0.001004, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.355/1.355, allocations: 223.2 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 274.8 kB / 292.3 MB, free: 1.812 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003949, allocations: 20.59 kB / 0.5993 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1643, allocations: 88.54 MB / 0.6858 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.001533/0.1659, allocations: 1.189 MB / 0.6869 GB, free: 13.85 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006136/0.1665, allocations: 430.1 kB / 0.6873 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.1666, allocations: 4 kB / 0.6873 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.1666, allocations: 3.938 kB / 0.6873 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.636e-05/0.1667, allocations: 0 / 0.6873 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001325/0.1668, allocations: 28.53 kB / 0.6874 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.2e-05/0.1669, allocations: 43.91 kB / 0.6874 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.167, allocations: 9.281 kB / 0.6874 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.664e-05/0.1671, allocations: 19.92 kB / 0.6874 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.1671, allocations: 16.48 kB / 0.6875 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.1672, allocations: 8.688 kB / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.1672, allocations: 0 / 0.6875 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.1672, allocations: 21.78 kB / 0.6875 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.1673, allocations: 41.64 kB / 0.6875 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.335e-05/0.1673, allocations: 28.16 kB / 0.6875 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1673, allocations: 0 / 0.6875 GB, free: 13.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1673, allocations: 4 kB / 0.6876 GB, free: 13.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1673, allocations: 0.9062 kB / 0.6876 GB, free: 13.2 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.00044/0.1678, allocations: 360.9 kB / 0.6879 GB, free: 12.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1678, allocations: 12.03 kB / 0.6879 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/0.1679, allocations: 0.9375 kB / 0.6879 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.168, allocations: 172.3 kB / 0.6881 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.168, allocations: 4.375 kB / 0.6881 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.168, allocations: 4.375 kB / 0.6881 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.1682, allocations: 70.45 kB / 0.6881 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.1682, allocations: 0 / 0.6881 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.1682, allocations: 0.625 kB / 0.6882 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1682, allocations: 0.5625 kB / 0.6882 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.131e-05/0.1683, allocations: 27.98 kB / 0.6882 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.1688, allocations: 308 kB / 0.6885 GB, free: 12.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.1689, allocations: 51.31 kB / 0.6885 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.263e-05/0.1689, allocations: 30.12 kB / 0.6885 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.1689, allocations: 0 / 0.6885 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.1691, allocations: 85.03 kB / 0.6886 GB, free: 11.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.1691, allocations: 0 / 0.6886 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001986/0.1693, allocations: 93.62 kB / 0.6887 GB, free: 11.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.1694, allocations: 55.92 kB / 0.6888 GB, free: 11.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.849e-05/0.1694, allocations: 106.5 kB / 0.6889 GB, free: 11.67 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1695, allocations: 31.55 kB / 0.6889 GB, free: 11.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.1695, allocations: 92.03 kB / 0.689 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.1696, allocations: 15.75 kB / 0.689 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.1696, allocations: 25.7 kB / 0.689 GB, free: 11.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1697, allocations: 321.6 kB / 0.6893 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.338e-05/0.1697, allocations: 15.98 kB / 0.6894 GB, free: 11.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.92e-05/0.1698, allocations: 51.42 kB / 0.6894 GB, free: 11.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.555e-05/0.1699, allocations: 64.16 kB / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1699, allocations: 0.9688 kB / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001342/0.17, allocations: 98.33 kB / 0.6896 GB, free: 10.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1701, allocations: 9.969 kB / 0.6896 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1701, allocations: 4.531 kB / 0.6896 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.1701, allocations: 3.938 kB / 0.6896 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.1702, allocations: 13.06 kB / 0.6896 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1702, allocations: 4.047 kB / 0.6896 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.234e-05/0.1702, allocations: 13 kB / 0.6896 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1703, allocations: 4 kB / 0.6896 GB, free: 10.88 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.336e-05/0.1704, allocations: 127.1 kB / 0.6897 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.348e-05/0.1704, allocations: 7.906 kB / 0.6897 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.666e-05/0.1704, allocations: 11.95 kB / 0.6897 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1704, allocations: 0 / 0.6897 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1704, allocations: 0 / 0.6897 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1704, allocations: 0 / 0.6897 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003898/0.1708, allocations: 378.3 kB / 0.6901 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1708, allocations: 0 / 0.6901 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.1709, allocations: 4 kB / 0.6901 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1709, allocations: 0 / 0.6901 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.1709, allocations: 0 / 0.6901 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1709, allocations: 7.922 kB / 0.6901 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1709, allocations: 3.984 kB / 0.6901 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.1711, allocations: 175.5 kB / 0.6903 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.1711, allocations: 89.02 kB / 0.6904 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.1711, allocations: 3.984 kB / 0.6904 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.1712, allocations: 7.938 kB / 0.6904 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.1713, allocations: 12.27 kB / 0.6904 GB, free: 9.965 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1713, allocations: 4 kB / 0.6904 GB, free: 9.961 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.693e-05/0.1713, allocations: 87.25 kB / 0.6905 GB, free: 9.875 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1713, allocations: 0 / 0.6905 GB, free: 9.875 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1716, allocations: 16 kB / 0.6905 GB, free: 9.859 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 7.647e-05/0.1716, allocations: 105.3 kB / 0.6906 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.1718, allocations: 56.05 kB / 0.6907 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1718, allocations: 0 / 0.6907 GB, free: 9.695 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.1718, allocations: 31.92 kB / 0.6907 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1721, allocations: 8 kB / 0.6907 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.1724, allocations: 190.4 kB / 0.6909 GB, free: 9.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.1727, allocations: 0.6861 MB / 0.6915 GB, free: 8.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.1727, allocations: 11.44 kB / 0.6916 GB, free: 8.715 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1727, allocations: 0 / 0.6916 GB, free: 8.715 MB / 494.1 MB Notification: Performance of Templates: time 0.001976/0.1747, allocations: 0.8424 MB / 0.6924 GB, free: 7.875 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.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 OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStartCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStartCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStartCalcHelperMain.o] Error 1