Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.001031, allocations: 99.05 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.001678/0.001677, allocations: 177.7 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.39/1.39, allocations: 223.3 MB / 240.6 MB, free: 5.41 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.536/2.536, allocations: 390.4 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003776, allocations: 19.98 kB / 0.8155 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8725/0.8729, allocations: 142.3 MB / 0.9544 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Min): time 0.001074/0.874, allocations: 423.8 kB / 0.9548 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008415/0.8749, allocations: 0.8035 MB / 0.9556 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.8749, allocations: 1.375 kB / 0.9556 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.8749, allocations: 0 / 0.9556 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.559e-05/0.875, allocations: 4.594 kB / 0.9556 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.8751, allocations: 10.05 kB / 0.9556 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.408e-05/0.8752, allocations: 33.55 kB / 0.9557 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.8753, allocations: 16.97 kB / 0.9557 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.665e-05/0.8754, allocations: 13.06 kB / 0.9557 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.871e-05/0.8755, allocations: 21.97 kB / 0.9557 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.8755, allocations: 1.188 kB / 0.9557 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.429e-05/0.8755, allocations: 2.094 kB / 0.9557 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.495e-05/0.8755, allocations: 13 kB / 0.9557 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.8756, allocations: 31.95 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.385e-05/0.8756, allocations: 26.19 kB / 0.9558 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8756, allocations: 0 / 0.9558 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8756, allocations: 4 kB / 0.9558 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.8757, allocations: 0 / 0.9558 GB, free: 6.984 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000459/0.8761, allocations: 368.7 kB / 0.9561 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.8762, allocations: 8.656 kB / 0.9562 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.216e-05/0.8762, allocations: 14.33 kB / 0.9562 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.114e-05/0.8763, allocations: 166 kB / 0.9563 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.8763, allocations: 0 / 0.9563 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.8764, allocations: 10.05 kB / 0.9563 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.8766, allocations: 80.64 kB / 0.9564 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.8766, allocations: 4 kB / 0.9564 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.8766, allocations: 5.219 kB / 0.9564 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8766, allocations: 0 / 0.9564 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.8769, allocations: 86.95 kB / 0.9565 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.8772, allocations: 262.6 kB / 0.9568 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.8774, allocations: 74.12 kB / 0.9568 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.8776, allocations: 45.83 kB / 0.9569 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.8776, allocations: 5.062 kB / 0.9569 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.8777, allocations: 34.55 kB / 0.9569 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.8777, allocations: 1.156 kB / 0.9569 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005414/0.8782, allocations: 162.8 kB / 0.9571 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.8782, allocations: 55.34 kB / 0.9571 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.8783, allocations: 115.5 kB / 0.9572 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.8783, allocations: 26.83 kB / 0.9573 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.8784, allocations: 89.06 kB / 0.9573 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.8784, allocations: 13.84 kB / 0.9574 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.8784, allocations: 4 kB / 0.9574 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.8785, allocations: 312 kB / 0.9577 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.8786, allocations: 47.48 kB / 0.9577 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.8788, allocations: 39.34 kB / 0.9577 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.8789, allocations: 46.36 kB / 0.9578 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.8789, allocations: 0 / 0.9578 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002859/0.8792, allocations: 116.9 kB / 0.9579 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.8792, allocations: 9.719 kB / 0.9579 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8792, allocations: 0 / 0.9579 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8792, allocations: 5.234 kB / 0.9579 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.8794, allocations: 26.14 kB / 0.9579 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8794, allocations: 1.156 kB / 0.9579 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.8795, allocations: 16.17 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.8795, allocations: 3.984 kB / 0.958 GB, free: 5.035 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.245e-05/0.8796, allocations: 116 kB / 0.9581 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.8796, allocations: 10.06 kB / 0.9581 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.8799, allocations: 128.2 kB / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.8799, allocations: 0 / 0.9582 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.88, allocations: 5.391 kB / 0.9582 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.88, allocations: 384 / 0.9582 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.8801, allocations: 165.4 kB / 0.9584 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.8801, allocations: 0 / 0.9584 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.346e-05/0.8802, allocations: 23.44 kB / 0.9584 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.8802, allocations: 7.938 kB / 0.9584 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.8802, allocations: 0.9688 kB / 0.9584 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.8802, allocations: 0 / 0.9584 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8802, allocations: 4.953 kB / 0.9584 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.8806, allocations: 211.6 kB / 0.9586 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.8806, allocations: 90 kB / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.8806, allocations: 0.9375 kB / 0.9587 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.8807, allocations: 19.55 kB / 0.9587 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.8808, allocations: 2.469 kB / 0.9587 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.8808, allocations: 5.172 kB / 0.9587 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.8808, allocations: 89.23 kB / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8808, allocations: 0 / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002179/0.881, allocations: 6.031 kB / 0.9588 GB, free: 4.238 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001246/0.8812, allocations: 98.22 kB / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.8815, allocations: 93.11 kB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8815, allocations: 4 kB / 0.959 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.8816, allocations: 47.27 kB / 0.959 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.882, allocations: 7.719 kB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002863/0.8822, allocations: 161.2 kB / 0.9592 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.8824, allocations: 0.6794 MB / 0.9599 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.8824, allocations: 9.438 kB / 0.9599 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8824, allocations: 0 / 0.9599 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of Templates: time 0.002196/0.8846, allocations: 0.7372 MB / 0.9606 GB, free: 2.848 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.MinCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MinCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MinCalcHelperMain.o] Error 1