Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cos1.y|der1.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008293/0.0008293, allocations: 99.75 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.001047/0.001047, allocations: 177.2 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.514/1.514, allocations: 223.2 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.624/2.624, allocations: 390.5 MB / 0.6662 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004876, allocations: 8 kB / 0.8154 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8729/0.8734, 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.Derivative): time 0.001404/0.8749, allocations: 1.124 MB / 0.9555 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003797/0.8752, allocations: 209.4 kB / 0.9557 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.8753, allocations: 0.9688 kB / 0.9557 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.8753, allocations: 0 / 0.9557 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.8755, allocations: 15.61 kB / 0.9557 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.609e-05/0.8756, allocations: 14.86 kB / 0.9558 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.8757, allocations: 43.81 kB / 0.9558 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.151e-05/0.8758, allocations: 9.594 kB / 0.9558 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.964e-05/0.8759, allocations: 15.08 kB / 0.9558 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.8759, allocations: 23.84 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.876, allocations: 2.625 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.876, allocations: 1.312 kB / 0.9558 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.327e-05/0.876, allocations: 17.33 kB / 0.9559 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.876, allocations: 28.73 kB / 0.9559 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.239e-05/0.8761, allocations: 29.56 kB / 0.9559 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.8761, allocations: 1.188 kB / 0.9559 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8761, allocations: 0 / 0.9559 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.8761, allocations: 0 / 0.9559 GB, free: 6.938 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003867/0.8765, allocations: 364.2 kB / 0.9563 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.8765, allocations: 8.281 kB / 0.9563 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.067e-05/0.8766, allocations: 10.8 kB / 0.9563 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.8767, allocations: 174.9 kB / 0.9565 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-06/0.8767, allocations: 1.312 kB / 0.9565 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.8768, allocations: 2.375 kB / 0.9565 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.8769, allocations: 66.19 kB / 0.9565 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.772e-06/0.8769, allocations: 5.406 kB / 0.9565 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.877, allocations: 0 / 0.9565 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.877, allocations: 1.312 kB / 0.9565 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.8772, allocations: 55.84 kB / 0.9566 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003685/0.8775, allocations: 297.1 kB / 0.9569 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.8778, allocations: 70.86 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.158e-05/0.8779, allocations: 34.41 kB / 0.957 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.8779, allocations: 0 / 0.957 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.8779, allocations: 35.69 kB / 0.957 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.8779, allocations: 0 / 0.957 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003515/0.8783, allocations: 129.9 kB / 0.9571 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.8783, allocations: 52.66 kB / 0.9572 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.104e-05/0.8784, allocations: 112.7 kB / 0.9573 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.8784, allocations: 25.7 kB / 0.9573 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.8785, allocations: 94.09 kB / 0.9574 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.8785, allocations: 13.66 kB / 0.9574 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.8785, allocations: 9.062 kB / 0.9574 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.008e-05/0.8785, allocations: 311.8 kB / 0.9577 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.393e-05/0.8786, allocations: 34.41 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.909e-05/0.8787, allocations: 25.08 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.254e-05/0.8788, allocations: 31.17 kB / 0.9578 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8788, allocations: 0 / 0.9578 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002075/0.879, allocations: 100.7 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8791, allocations: 5.781 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.8791, allocations: 7.984 kB / 0.9579 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.8791, allocations: 3.953 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.8792, allocations: 16.48 kB / 0.9579 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8792, allocations: 0.9375 kB / 0.9579 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.713e-05/0.8793, allocations: 10.61 kB / 0.9579 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.8793, allocations: 1.062 kB / 0.9579 GB, free: 5.02 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 (5): * Single equations (assignments): 5 * 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 6.025e-05/0.8793, allocations: 115.9 kB / 0.9581 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.8794, allocations: 6.25 kB / 0.9581 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.8796, allocations: 99.77 kB / 0.9582 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.8796, allocations: 4.984 kB / 0.9582 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.8796, allocations: 0 / 0.9582 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.8797, allocations: 5 kB / 0.9582 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001292/0.8798, allocations: 170.6 kB / 0.9583 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8798, allocations: 1.281 kB / 0.9583 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.182e-05/0.8799, allocations: 14.61 kB / 0.9583 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.8799, allocations: 1 kB / 0.9583 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.8799, allocations: 0 / 0.9583 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.8799, allocations: 1.062 kB / 0.9583 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8799, allocations: 3.953 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.8802, allocations: 227.7 kB / 0.9586 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.8803, allocations: 83.73 kB / 0.9586 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.8803, allocations: 4.25 kB / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.8804, allocations: 22.61 kB / 0.9587 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.8804, allocations: 1.406 kB / 0.9587 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.8804, allocations: 5.078 kB / 0.9587 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.8805, allocations: 93.48 kB / 0.9588 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8805, allocations: 1.156 kB / 0.9588 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002076/0.8807, allocations: 6.938 kB / 0.9588 GB, free: 4.215 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * 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.0001112/0.8808, allocations: 99.94 kB / 0.9589 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.881, allocations: 64.11 kB / 0.9589 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.881, allocations: 0 / 0.9589 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.8811, allocations: 36.67 kB / 0.959 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.8814, allocations: 7.422 kB / 0.959 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.8817, allocations: 191.6 kB / 0.9592 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.8818, allocations: 0.6866 MB / 0.9598 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.8819, allocations: 9.219 kB / 0.9598 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8819, allocations: 0 / 0.9598 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of Templates: time 0.002139/0.884, allocations: 0.7825 MB / 0.9606 GB, free: 2.797 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.makefile make -j1 -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.DerivativeCalcHelperMain.o OMCppBuildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.DerivativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.DerivativeCalcHelperMain.o] Error 1