Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lesEquThr.u|lesEquThr.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 100.5 kB / 15.71 MB, free: 452 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.001391/0.001391, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.53/1.53, allocations: 223.2 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.577/2.577, allocations: 390.5 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005558/0.0005559, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7764, allocations: 142.3 MB / 0.9544 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold): time 0.001069/0.7775, allocations: 400.5 kB / 0.9548 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009368/0.7785, allocations: 0.789 MB / 0.9556 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.794e-05/0.7785, allocations: 4.75 kB / 0.9556 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.7786, allocations: 0 / 0.9556 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.425e-05/0.7787, allocations: 5 kB / 0.9556 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.545e-05/0.7787, allocations: 8.781 kB / 0.9556 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.7788, allocations: 19.95 kB / 0.9556 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.7789, allocations: 2.656 kB / 0.9556 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.779, allocations: 11.45 kB / 0.9556 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.33e-05/0.7791, allocations: 14.97 kB / 0.9556 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.7791, allocations: 1.062 kB / 0.9556 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-06/0.7791, allocations: 5.406 kB / 0.9557 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.232e-05/0.7791, allocations: 4 kB / 0.9557 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.7792, allocations: 26.89 kB / 0.9557 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.791e-05/0.7792, allocations: 12.62 kB / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7792, allocations: 0 / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7792, allocations: 0 / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.7793, allocations: 0 / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004136/0.7797, allocations: 348.3 kB / 0.956 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.7797, allocations: 13.42 kB / 0.956 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.7798, allocations: 5.203 kB / 0.956 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.7799, allocations: 168.4 kB / 0.9562 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.7799, allocations: 4.984 kB / 0.9562 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.7799, allocations: 1.094 kB / 0.9562 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.7801, allocations: 53.8 kB / 0.9563 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7802, allocations: 5.125 kB / 0.9563 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.7802, allocations: 0 / 0.9563 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.7802, allocations: 0 / 0.9563 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.7804, allocations: 45.48 kB / 0.9563 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003628/0.7808, allocations: 263.4 kB / 0.9566 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.7809, allocations: 39.38 kB / 0.9566 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.946e-05/0.781, allocations: 27.58 kB / 0.9566 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.7811, allocations: 5.344 kB / 0.9566 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.7811, allocations: 34.56 kB / 0.9567 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.7811, allocations: 3.938 kB / 0.9567 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003884/0.7815, allocations: 103.8 kB / 0.9568 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.7815, allocations: 51.41 kB / 0.9568 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.7816, allocations: 100.2 kB / 0.9569 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.7817, allocations: 25.7 kB / 0.9569 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.7817, allocations: 89.88 kB / 0.957 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.7817, allocations: 9.156 kB / 0.957 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.7817, allocations: 0 / 0.957 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.933e-05/0.7818, allocations: 316.4 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.7819, allocations: 20.95 kB / 0.9573 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.193e-05/0.782, allocations: 18.27 kB / 0.9574 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.417e-05/0.7821, allocations: 30.12 kB / 0.9574 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7821, allocations: 0 / 0.9574 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.7823, allocations: 70.64 kB / 0.9575 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.7823, allocations: 8.312 kB / 0.9575 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7823, allocations: 5.219 kB / 0.9575 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7823, allocations: 0 / 0.9575 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.7824, allocations: 15.88 kB / 0.9575 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.7824, allocations: 0 / 0.9575 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.901e-05/0.7825, allocations: 11.05 kB / 0.9575 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.71e-06/0.7825, allocations: 1.156 kB / 0.9575 GB, free: 5.312 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 5.522e-05/0.7826, allocations: 115 kB / 0.9576 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.7826, allocations: 2.281 kB / 0.9576 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.802e-05/0.7826, allocations: 3.125 kB / 0.9576 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7826, allocations: 1.125 kB / 0.9576 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7826, allocations: 4.203 kB / 0.9576 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.7826, allocations: 0.9375 kB / 0.9576 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.7828, allocations: 162 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7828, allocations: 1.094 kB / 0.9578 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.7828, allocations: 10.58 kB / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7829, allocations: 5.031 kB / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.7829, allocations: 0 / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.7829, allocations: 1.062 kB / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7829, allocations: 0 / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.7831, allocations: 183.9 kB / 0.958 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.7831, allocations: 78.05 kB / 0.958 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.7831, allocations: 1.031 kB / 0.958 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.542e-05/0.7832, allocations: 10.95 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/0.7833, allocations: 1.906 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.7833, allocations: 1.094 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.003e-05/0.7833, allocations: 86.98 kB / 0.9581 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.31e-07/0.7833, allocations: 4.031 kB / 0.9581 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002113/0.7835, allocations: 15.33 kB / 0.9582 GB, free: 4.613 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesEquThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001094/0.7836, allocations: 97.47 kB / 0.9583 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.7838, allocations: 47.88 kB / 0.9583 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7839, allocations: 0 / 0.9583 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.353e-05/0.7839, allocations: 31.91 kB / 0.9583 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.7842, allocations: 4.594 kB / 0.9583 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.7845, allocations: 137 kB / 0.9585 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000115/0.7847, allocations: 0.673 MB / 0.9591 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.7847, allocations: 8.469 kB / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7847, allocations: 0 / 0.9591 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of Templates: time 0.001916/0.7866, allocations: 0.566 MB / 0.9597 GB, free: 3.363 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.makefile make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThreshold.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_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThresholdCalcHelperMain.o OMCppBuildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThresholdCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LessEqualThresholdCalcHelperMain.o] Error 1