Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cons.y|booleanPulse.y|intDef.y_start|intDef.y|intDef.y_reset_in|intWitRes1.y_start|intWitRes1.y|intWitRes1.y_reset_in|intWitRes2.y_start|intWitRes2.y|intWitRes2.y_reset_in",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009376/0.0009377, allocations: 102.4 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.0008914/0.0008915, allocations: 175.9 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.466/1.466, allocations: 223.2 MB / 240.6 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.783/2.783, allocations: 436.7 MB / 0.7113 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 12 kB / 0.8717 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8272, allocations: 153.6 MB / 1.022 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001132/0.8283, allocations: 0.5923 MB / 1.022 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.83, allocations: 1.148 MB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.8301, allocations: 4 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.8301, allocations: 7.922 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.665e-05/0.8302, allocations: 11.86 kB / 1.023 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004742/0.8307, allocations: 130.8 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.8308, allocations: 147.6 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.831, allocations: 33.03 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.442e-05/0.8311, allocations: 47.84 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.472e-05/0.8312, allocations: 59.73 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.8312, allocations: 8 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-05/0.8313, allocations: 23.92 kB / 1.024 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.8313, allocations: 15.92 kB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.594e-05/0.8314, allocations: 49.64 kB / 1.024 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001469/0.8315, allocations: 113.7 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.8315, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.704e-06/0.8316, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.8316, allocations: 0 / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000624/0.8322, allocations: 432.6 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.8322, allocations: 19.98 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.965e-05/0.8323, allocations: 15.89 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005337/0.8328, allocations: 254.8 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.8329, allocations: 11.89 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.8329, allocations: 16 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.8331, allocations: 96.03 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.8332, allocations: 0 / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.8332, allocations: 3.984 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.8332, allocations: 7.984 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.8334, allocations: 55.91 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006849/0.8341, allocations: 384.5 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.8342, allocations: 46.55 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.61e-05/0.8343, allocations: 24.84 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.8343, allocations: 7.938 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/0.8347, allocations: 111.5 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.8347, allocations: 0 / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0004366/0.8351, allocations: 145.4 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.8352, allocations: 55.41 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.8353, allocations: 147.7 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.8353, allocations: 33.69 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.8354, allocations: 104.4 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.8354, allocations: 31.55 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.8355, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.8356, allocations: 322.8 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.8358, allocations: 63.89 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.836, allocations: 135.1 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.8361, allocations: 89.67 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.8361, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004487/0.8366, allocations: 255 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.649e-05/0.8366, allocations: 33.7 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.8367, allocations: 7.953 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.8367, allocations: 4 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.8368, allocations: 35.91 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.8368, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.8371, allocations: 44.09 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.8371, allocations: 19.98 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition4,$PRE.booleanPulse.y,booleanPulse.y,$whenCondition1,$whenCondition2,$whenCondition3,sampleTrigger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001115/0.8372, allocations: 125.7 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.8373, allocations: 11.81 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.044e-05/0.8373, allocations: 20.72 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.8373, allocations: 7.891 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.453e-06/0.8373, allocations: 3.984 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8373, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.8379, allocations: 402.5 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8379, allocations: 0 / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.739e-05/0.838, allocations: 15.98 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.838, allocations: 3.953 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.838, allocations: 4 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.838, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.838, allocations: 3.984 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.8384, allocations: 247.3 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.8385, allocations: 92.86 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.8385, allocations: 7.984 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.7e-05/0.8386, allocations: 12.19 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.8387, allocations: 11.98 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.8387, allocations: 7.938 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.949e-05/0.8388, allocations: 104.8 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8388, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002798/0.8391, allocations: 31.94 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001725/0.8392, allocations: 111.2 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003695/0.8396, allocations: 191.2 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8396, allocations: 0 / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.8398, allocations: 48.66 kB / 1.028 GB, free: 10 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.8401, allocations: 25.56 kB / 1.028 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005049/0.8406, allocations: 327.3 kB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002852/0.8409, allocations: 0.7089 MB / 1.029 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.8409, allocations: 19.44 kB / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8409, allocations: 0 / 1.029 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of Templates: time 0.003493/0.8444, allocations: 1.693 MB / 1.031 GB, free: 7.195 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithResetCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithResetCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithResetCalcHelperMain.o] Error 1