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.007814/0.007815, allocations: 100.6 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 188.3 kB / 16.79 MB, free: 5.809 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.767/1.767, allocations: 205.1 MB / 222.6 MB, free: 4.734 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.887/1.887, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.001624/0.001624, allocations: 72.17 kB / 0.6715 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3762/0.3778, allocations: 114.6 MB / 0.7834 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Hysteresis): time 0.002911/0.3808, allocations: 1.079 MB / 0.7844 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002555/0.3834, allocations: 1.336 MB / 0.7857 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.3835, allocations: 4 kB / 0.7857 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.978e-05/0.3837, allocations: 7.875 kB / 0.7857 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.3838, allocations: 27.78 kB / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008322/0.3847, allocations: 244.1 kB / 0.786 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003878/0.3851, allocations: 283.3 kB / 0.7863 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.3853, allocations: 45.66 kB / 0.7863 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.3855, allocations: 103.6 kB / 0.7864 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.3856, allocations: 99.61 kB / 0.7865 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.3857, allocations: 16 kB / 0.7865 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.3858, allocations: 28 kB / 0.7865 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.3859, allocations: 43.7 kB / 0.7866 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.3861, allocations: 99.55 kB / 0.7867 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.3864, allocations: 247.7 kB / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.3865, allocations: 0 / 0.7869 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.302e-06/0.3865, allocations: 7.984 kB / 0.7869 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.3865, allocations: 0 / 0.7869 GB, free: 10.3 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.001135/0.3876, allocations: 0.5682 MB / 0.7875 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.3877, allocations: 8.031 kB / 0.7875 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.3878, allocations: 24.75 kB / 0.7875 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009261/0.3887, allocations: 311.7 kB / 0.7878 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.3888, allocations: 12.38 kB / 0.7878 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.3888, allocations: 24.36 kB / 0.7878 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003259/0.3892, allocations: 127.7 kB / 0.788 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.3892, allocations: 11.92 kB / 0.788 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/0.3892, allocations: 4 kB / 0.788 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3893, allocations: 4 kB / 0.788 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.3895, allocations: 79.88 kB / 0.7881 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009846/0.3905, allocations: 0.6413 MB / 0.7887 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.391, allocations: 139.9 kB / 0.7888 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.3912, allocations: 50.64 kB / 0.7889 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.3912, allocations: 0 / 0.7889 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004069/0.3916, allocations: 153.1 kB / 0.789 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.3916, allocations: 0 / 0.789 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006173/0.3923, allocations: 201.3 kB / 0.7892 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.3924, allocations: 114.8 kB / 0.7893 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.3926, allocations: 190.5 kB / 0.7895 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.3927, allocations: 37.7 kB / 0.7895 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.3928, allocations: 128.4 kB / 0.7896 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.358e-05/0.3929, allocations: 35.55 kB / 0.7897 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.393, allocations: 61.69 kB / 0.7897 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3932, allocations: 334.8 kB / 0.7901 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.3935, allocations: 91.91 kB / 0.7901 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.3938, allocations: 160.5 kB / 0.7903 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/0.3943, allocations: 225.2 kB / 0.7905 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3943, allocations: 0 / 0.7905 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006918/0.395, allocations: 352.8 kB / 0.7908 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.814e-05/0.3951, allocations: 67.39 kB / 0.7909 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.3951, allocations: 3.938 kB / 0.7909 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.3951, allocations: 4 kB / 0.7909 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3952, allocations: 19.92 kB / 0.7909 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.3952, allocations: 11.88 kB / 0.791 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.3957, allocations: 71.77 kB / 0.791 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.3957, allocations: 12.69 kB / 0.791 GB, free: 5.695 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.0001854/0.3959, allocations: 141.8 kB / 0.7912 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.3959, allocations: 15.81 kB / 0.7912 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.3962, allocations: 90.64 kB / 0.7913 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.3963, allocations: 4.281 kB / 0.7913 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.3963, allocations: 3.938 kB / 0.7913 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.3963, allocations: 4 kB / 0.7913 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.3966, allocations: 245.4 kB / 0.7915 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3966, allocations: 3.984 kB / 0.7915 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/0.3967, allocations: 19.92 kB / 0.7915 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3967, allocations: 0 / 0.7915 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.264e-05/0.3967, allocations: 11.98 kB / 0.7915 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3968, allocations: 0 / 0.7915 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.3968, allocations: 3.938 kB / 0.7916 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.3972, allocations: 194.5 kB / 0.7917 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.3973, allocations: 92.92 kB / 0.7918 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.3973, allocations: 4 kB / 0.7918 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.3974, allocations: 11.98 kB / 0.7918 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/0.3975, allocations: 31.89 kB / 0.7919 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.3976, allocations: 11.98 kB / 0.7919 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001362/0.3977, allocations: 139.2 kB / 0.792 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3977, allocations: 0 / 0.792 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002819/0.398, allocations: 40 kB / 0.7921 GB, free: 4.535 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.0002499/0.3983, allocations: 114 kB / 0.7922 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000649/0.3989, allocations: 318.6 kB / 0.7925 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3989, allocations: 0 / 0.7925 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/0.3991, allocations: 75.89 kB / 0.7925 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.3995, allocations: 32.23 kB / 0.7926 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.4002, allocations: 371.9 kB / 0.7929 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.4007, allocations: 0.7205 MB / 0.7936 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.4007, allocations: 27.42 kB / 0.7937 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.4007, allocations: 0 / 0.7937 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of Templates: time 0.005866/0.4066, allocations: 2.775 MB / 0.7964 GB, free: 40 kB / 0.6075 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