Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008891/0.0008892, allocations: 92.39 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.001072/0.001072, allocations: 179.5 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.81/1.81, allocations: 205.4 MB / 223.1 MB, free: 5.559 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.966/1.966, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0006117/0.0006117, allocations: 20.95 kB / 0.675 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3452, allocations: 116.3 MB / 0.7886 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.001803/0.3471, allocations: 0.7367 MB / 0.7893 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.3498, allocations: 1.336 MB / 0.7906 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.35, allocations: 0 / 0.7906 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.768e-05/0.35, allocations: 7.875 kB / 0.7906 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.3502, allocations: 27.78 kB / 0.7906 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009889/0.3512, allocations: 250.7 kB / 0.7909 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.3516, allocations: 279.3 kB / 0.7911 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.3518, allocations: 45.66 kB / 0.7912 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.3521, allocations: 99.61 kB / 0.7913 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.3523, allocations: 91.58 kB / 0.7913 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.765e-05/0.3524, allocations: 16 kB / 0.7914 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.3525, allocations: 24 kB / 0.7914 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.3525, allocations: 35.83 kB / 0.7914 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.3527, allocations: 121.2 kB / 0.7915 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.353, allocations: 239.6 kB / 0.7918 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.353, allocations: 8 kB / 0.7918 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.014e-06/0.353, allocations: 0 / 0.7918 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.3531, allocations: 0 / 0.7918 GB, free: 8.262 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001014/0.3541, allocations: 0.5294 MB / 0.7923 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.3541, allocations: 8.031 kB / 0.7923 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.3543, allocations: 32.66 kB / 0.7923 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3553, allocations: 319.7 kB / 0.7926 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.272e-05/0.3554, allocations: 16.38 kB / 0.7926 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.3555, allocations: 24.36 kB / 0.7927 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.3558, allocations: 131.6 kB / 0.7928 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3558, allocations: 3.938 kB / 0.7928 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.3558, allocations: 8 kB / 0.7928 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3559, allocations: 0 / 0.7928 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002648/0.3561, allocations: 91.88 kB / 0.7929 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.3571, allocations: 0.6335 MB / 0.7935 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/0.3575, allocations: 151.8 kB / 0.7937 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.3576, allocations: 50.72 kB / 0.7937 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.205e-05/0.3577, allocations: 8.062 kB / 0.7937 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003162/0.358, allocations: 149.8 kB / 0.7939 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.358, allocations: 0 / 0.7939 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006312/0.3586, allocations: 217.2 kB / 0.7941 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.3587, allocations: 110.8 kB / 0.7942 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.3589, allocations: 194.5 kB / 0.7944 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.359, allocations: 37.7 kB / 0.7944 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3591, allocations: 128.5 kB / 0.7945 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.3591, allocations: 35.45 kB / 0.7945 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.3592, allocations: 29.7 kB / 0.7946 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3594, allocations: 334.8 kB / 0.7949 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.3597, allocations: 87.95 kB / 0.795 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.36, allocations: 172.5 kB / 0.7951 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.3604, allocations: 237.2 kB / 0.7954 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3605, allocations: 0 / 0.7954 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007976/0.3613, allocations: 360.7 kB / 0.7957 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.818e-05/0.3614, allocations: 66.36 kB / 0.7958 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3614, allocations: 3.938 kB / 0.7958 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.3614, allocations: 4 kB / 0.7958 GB, free: 3.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.3615, allocations: 23.92 kB / 0.7958 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.3615, allocations: 8.062 kB / 0.7958 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.362, allocations: 95.77 kB / 0.7959 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.3621, allocations: 12 kB / 0.7959 GB, free: 3.625 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,hysteresis1.y,$PRE.hysteresis1.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y,hysteresis2.y,$PRE.hysteresis2.y,hysteresis.y,$PRE.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001831/0.3622, allocations: 137.8 kB / 0.796 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.3623, allocations: 19.81 kB / 0.7961 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.3626, allocations: 98.88 kB / 0.7962 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.3627, allocations: 4.047 kB / 0.7962 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.3627, allocations: 7.922 kB / 0.7962 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.3627, allocations: 0 / 0.7962 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.363, allocations: 242.2 kB / 0.7964 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.363, allocations: 0 / 0.7964 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/0.3631, allocations: 23.92 kB / 0.7964 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.3631, allocations: 7.938 kB / 0.7964 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.3631, allocations: 11.98 kB / 0.7964 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3631, allocations: 0 / 0.7964 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.3632, allocations: 3.938 kB / 0.7964 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.3636, allocations: 198.6 kB / 0.7966 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.3637, allocations: 92.92 kB / 0.7967 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.3637, allocations: 4 kB / 0.7967 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3638, allocations: 19.92 kB / 0.7967 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.364, allocations: 31.88 kB / 0.7968 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.364, allocations: 8 kB / 0.7968 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001636/0.3642, allocations: 139.2 kB / 0.7969 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3642, allocations: 0 / 0.7969 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003386/0.3645, allocations: 43.91 kB / 0.797 GB, free: 2.441 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,hysteresis1.y,pul.booPul.y,$whenCondition1,$whenCondition2,hysteresis2.y,pul1.booPul.y,hysteresis.y) * Number of discrete states: 3 (hysteresis.y,hysteresis2.y,hysteresis1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000257/0.3648, allocations: 115.2 kB / 0.7971 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006586/0.3654, allocations: 322.6 kB / 0.7974 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.3655, allocations: 0 / 0.7974 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.3657, allocations: 75.89 kB / 0.7975 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.3661, allocations: 40.22 kB / 0.7975 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007246/0.3668, allocations: 359.3 kB / 0.7978 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.3673, allocations: 0.7244 MB / 0.7985 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.799e-05/0.3673, allocations: 23.42 kB / 0.7986 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of SimCode: time 4.478e-06/0.3674, allocations: 0 / 0.7986 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of Templates: time 0.006895/0.3743, allocations: 2.767 MB / 0.8013 GB, free: 13.96 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.makefile make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis.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.Controls.OBC.CDL.Continuous.Validation.HysteresisCalcHelperMain.o OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.HysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.HysteresisCalcHelperMain.o] Error 1