Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009535, allocations: 98.88 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.002077/0.002077, allocations: 182.6 kB / 16.92 MB, free: 6.918 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.9/1.9, allocations: 205.4 MB / 223.1 MB, free: 5.766 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.996/1.996, allocations: 292.7 MB / 0.5509 GB, free: 14.47 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.0007409/0.0007412, allocations: 16.22 kB / 0.675 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3521, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001528/0.3537, allocations: 0.5333 MB / 0.7891 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.3555, allocations: 1.156 MB / 0.7902 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.458e-05/0.3556, allocations: 4 kB / 0.7902 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.3556, allocations: 7.922 kB / 0.7902 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.67e-05/0.3557, allocations: 3.938 kB / 0.7902 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.3562, allocations: 126.9 kB / 0.7903 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.3564, allocations: 135.7 kB / 0.7905 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3565, allocations: 27.97 kB / 0.7905 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3566, allocations: 43.91 kB / 0.7905 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3567, allocations: 43.81 kB / 0.7906 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.3568, allocations: 8 kB / 0.7906 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.408e-05/0.3568, allocations: 23.92 kB / 0.7906 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.062e-05/0.3569, allocations: 15.92 kB / 0.7906 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.12e-05/0.357, allocations: 65.48 kB / 0.7907 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.3571, allocations: 108 kB / 0.7908 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3572, allocations: 0 / 0.7908 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.304e-06/0.3572, allocations: 0 / 0.7908 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3572, allocations: 0 / 0.7908 GB, free: 9.277 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006781/0.3579, allocations: 417 kB / 0.7912 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.3579, allocations: 12.03 kB / 0.7912 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.358, allocations: 12.84 kB / 0.7912 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.3582, allocations: 180.2 kB / 0.7914 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3582, allocations: 8.375 kB / 0.7914 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.272e-05/0.3582, allocations: 12.38 kB / 0.7914 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.3585, allocations: 86.16 kB / 0.7915 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3585, allocations: 192 / 0.7915 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.3585, allocations: 11.94 kB / 0.7915 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3585, allocations: 0 / 0.7915 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.3588, allocations: 70.19 kB / 0.7916 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.3594, allocations: 396.5 kB / 0.7919 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3596, allocations: 54.56 kB / 0.792 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3598, allocations: 40.92 kB / 0.792 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3598, allocations: 0 / 0.792 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002288/0.36, allocations: 95.3 kB / 0.7921 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.36, allocations: 0 / 0.7921 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0004821/0.3605, allocations: 145.5 kB / 0.7923 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3606, allocations: 51.41 kB / 0.7923 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3607, allocations: 133.6 kB / 0.7924 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.3608, allocations: 33.7 kB / 0.7925 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.203e-05/0.3608, allocations: 96.03 kB / 0.7926 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3609, allocations: 15.89 kB / 0.7926 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.602e-05/0.3609, allocations: 21.7 kB / 0.7926 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.3611, allocations: 322.8 kB / 0.7929 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.3613, allocations: 55.97 kB / 0.793 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.3615, allocations: 87.27 kB / 0.793 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.3618, allocations: 132.3 kB / 0.7932 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3618, allocations: 0 / 0.7932 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004561/0.3623, allocations: 207.4 kB / 0.7934 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.659e-05/0.3623, allocations: 37.7 kB / 0.7934 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3624, allocations: 0 / 0.7934 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3624, allocations: 64 / 0.7934 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.3625, allocations: 19.92 kB / 0.7934 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.3625, allocations: 64 / 0.7934 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.3628, allocations: 67.73 kB / 0.7935 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.3628, allocations: 7.984 kB / 0.7935 GB, free: 6.234 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001425/0.3629, allocations: 126.5 kB / 0.7936 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.363, allocations: 4 kB / 0.7936 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.363, allocations: 8.375 kB / 0.7936 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.363, allocations: 0 / 0.7936 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.363, allocations: 0 / 0.7936 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.363, allocations: 7.938 kB / 0.7936 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.3632, allocations: 181.6 kB / 0.7938 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3632, allocations: 4 kB / 0.7938 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.3633, allocations: 15.98 kB / 0.7938 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3633, allocations: 0 / 0.7938 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.3633, allocations: 0 / 0.7938 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3633, allocations: 0 / 0.7938 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3633, allocations: 3.938 kB / 0.7938 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.3636, allocations: 140.9 kB / 0.794 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.3637, allocations: 88.95 kB / 0.794 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3637, allocations: 4 kB / 0.794 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.207e-05/0.3638, allocations: 11.98 kB / 0.7941 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.3639, allocations: 15.91 kB / 0.7941 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.3639, allocations: 8 kB / 0.7941 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.603e-05/0.364, allocations: 95.27 kB / 0.7942 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.364, allocations: 0 / 0.7942 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002197/0.3642, allocations: 24 kB / 0.7942 GB, free: 5.414 MB / 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002047/0.3644, allocations: 107.2 kB / 0.7943 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004166/0.3648, allocations: 183.3 kB / 0.7945 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3648, allocations: 0 / 0.7945 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.365, allocations: 43.92 kB / 0.7945 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3652, allocations: 12.02 kB / 0.7945 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.3657, allocations: 239.1 kB / 0.7948 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.3661, allocations: 0.6887 MB / 0.7954 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.3661, allocations: 11.44 kB / 0.7954 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.3661, allocations: 0 / 0.7954 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of Templates: time 0.003537/0.3697, allocations: 1.333 MB / 0.7967 GB, free: 2.742 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOffCalcHelperMain.o OMCppBuildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOffCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOffCalcHelperMain.o] Error 1