Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009396/0.0009394, allocations: 102.6 kB / 15.71 MB, free: 448 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.001375/0.001375, allocations: 174.8 kB / 16.58 MB, free: 6.879 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.503/1.503, allocations: 223.3 MB / 240.6 MB, free: 5.293 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.602/2.602, allocations: 390.4 MB / 0.6662 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.000379, allocations: 12 kB / 0.8155 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9181/0.9185, allocations: 142.3 MB / 0.9544 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.002371/0.9209, allocations: 1.766 MB / 0.9562 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.9227, allocations: 1.149 MB / 0.9573 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.9229, allocations: 6.812 kB / 0.9573 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.9233, allocations: 150.3 kB / 0.9574 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002803/0.9236, allocations: 130.3 kB / 0.9576 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.9241, allocations: 190.4 kB / 0.9577 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.9245, allocations: 297.8 kB / 0.958 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.9247, allocations: 58.81 kB / 0.9581 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.9249, allocations: 124.7 kB / 0.9582 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.925, allocations: 130.9 kB / 0.9583 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.9251, allocations: 5.438 kB / 0.9583 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.9252, allocations: 42.89 kB / 0.9584 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.9253, allocations: 77.91 kB / 0.9584 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.63e-05/0.9254, allocations: 75.55 kB / 0.9585 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.9257, allocations: 310.6 kB / 0.9588 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9257, allocations: 1.25 kB / 0.9588 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9257, allocations: 0 / 0.9588 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.9258, allocations: 4 kB / 0.9588 GB, free: 4.828 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009196/0.9267, allocations: 0.6262 MB / 0.9594 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.9267, allocations: 8.625 kB / 0.9594 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.55e-05/0.9268, allocations: 40.73 kB / 0.9595 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004644/0.9273, allocations: 382.1 kB / 0.9598 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.9273, allocations: 8.156 kB / 0.9598 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.9274, allocations: 10.88 kB / 0.9599 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.9276, allocations: 121.8 kB / 0.96 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.9276, allocations: 0 / 0.96 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.9277, allocations: 5.469 kB / 0.96 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.9277, allocations: 2.875 kB / 0.96 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.9278, allocations: 69.31 kB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008132/0.9287, allocations: 0.5537 MB / 0.9606 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.929, allocations: 131 kB / 0.9607 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.9291, allocations: 45.45 kB / 0.9608 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.9291, allocations: 2.75 kB / 0.9608 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.9294, allocations: 109.6 kB / 0.9609 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.9294, allocations: 1.375 kB / 0.9609 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0004715/0.9299, allocations: 212.7 kB / 0.9611 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.9299, allocations: 52.53 kB / 0.9611 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006573/0.9306, allocations: 0.5253 MB / 0.9616 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.9306, allocations: 31.61 kB / 0.9617 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.9307, allocations: 180.2 kB / 0.9618 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.9308, allocations: 41.5 kB / 0.9619 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.9308, allocations: 5.156 kB / 0.9619 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.9309, allocations: 354.7 kB / 0.9622 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.9311, allocations: 95.39 kB / 0.9623 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.9313, allocations: 130.7 kB / 0.9624 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.9315, allocations: 103.3 kB / 0.9625 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9315, allocations: 1 kB / 0.9625 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005481/0.932, allocations: 314.9 kB / 0.9628 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.9321, allocations: 5.094 kB / 0.9628 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.9321, allocations: 1 kB / 0.9628 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.9321, allocations: 2.219 kB / 0.9628 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.9323, allocations: 43.25 kB / 0.9629 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.9323, allocations: 5.938 kB / 0.9629 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001486/0.9325, allocations: 29.58 kB / 0.9629 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.9325, allocations: 12.91 kB / 0.9629 GB, free: 1.695 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.0001741/0.9327, allocations: 187.9 kB / 0.9631 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.9327, allocations: 35.16 kB / 0.9631 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.805e-05/0.9328, allocations: 38 kB / 0.9632 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.9328, allocations: 5.281 kB / 0.9632 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.9328, allocations: 1.469 kB / 0.9632 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.9329, allocations: 4 kB / 0.9632 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.9331, allocations: 310.8 kB / 0.9635 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.9331, allocations: 1.344 kB / 0.9635 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.9332, allocations: 6.125 kB / 0.9635 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.9332, allocations: 1.312 kB / 0.9635 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.9332, allocations: 1.188 kB / 0.9635 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.9332, allocations: 5.469 kB / 0.9635 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9332, allocations: 0 / 0.9635 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003091/0.9335, allocations: 194.2 kB / 0.9637 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.9336, allocations: 123.6 kB / 0.9638 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.9336, allocations: 5.438 kB / 0.9638 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.9338, allocations: 19.62 kB / 0.9638 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.9338, allocations: 18.33 kB / 0.9638 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.9338, allocations: 12.42 kB / 0.9638 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003512/0.9342, allocations: 323 kB / 0.9642 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9342, allocations: 4 kB / 0.9642 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000304/0.9345, allocations: 66.27 kB / 0.9642 GB, free: 0.6914 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: 8 ($whenCondition2,$whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 5 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001027/0.9356, allocations: 409.7 kB / 0.9646 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000402/0.936, allocations: 197.3 kB / 0.9648 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.936, allocations: 1.156 kB / 0.9648 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001181/0.9361, allocations: 55.03 kB / 0.9649 GB, free: 404 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.9366, allocations: 93.75 kB / 0.9649 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.9376, allocations: 0.649 MB / 0.9656 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.9381, allocations: 0.7991 MB / 0.9664 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.693e-05/0.9382, allocations: 30.7 kB / 0.9664 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.9382, allocations: 0 / 0.9664 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of Templates: time 0.009606/0.9478, allocations: 4.563 MB / 0.9708 GB, free: 12.8 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Controls.OBC.CDL.Continuous.Validation.LessCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessCalcHelperMain.o] Error 1