Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|triggeredTrapezoid1.u|triggeredTrapezoid1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 102.8 kB / 15.71 MB, free: 460 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.001933/0.001933, allocations: 168.9 kB / 16.58 MB, free: 6.398 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.533/1.533, allocations: 223.2 MB / 240.6 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.824/2.824, allocations: 436.7 MB / 0.7113 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005258/0.0005262, allocations: 16 kB / 0.8717 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8475/0.848, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.0008495/0.8489, allocations: 381.1 kB / 1.022 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.8503, allocations: 1.152 MB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.883e-05/0.8504, allocations: 0 / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.606e-05/0.8504, allocations: 3.938 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.223e-05/0.8505, allocations: 7.922 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.851, allocations: 122.8 kB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.8511, allocations: 99.8 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.481e-05/0.8512, allocations: 11.98 kB / 1.023 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.8513, allocations: 51.88 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.81e-05/0.8514, allocations: 43.88 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.8514, allocations: 11.94 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.584e-05/0.8515, allocations: 15.98 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.8516, allocations: 15.92 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.603e-05/0.8516, allocations: 37.7 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.8517, allocations: 75.81 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.8518, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8518, allocations: 0 / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.8518, allocations: 8 kB / 1.024 GB, free: 15.05 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005721/0.8524, allocations: 387 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8524, allocations: 11.98 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.8525, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.8526, allocations: 182.8 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.8526, allocations: 4 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.8527, allocations: 8 kB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.8529, allocations: 81.59 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.8529, allocations: 4 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.8529, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8529, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.8531, allocations: 43.97 kB / 1.024 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004772/0.8536, allocations: 328.7 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.8538, allocations: 70.55 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.8539, allocations: 40.89 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.596e-06/0.8539, allocations: 0 / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.8542, allocations: 111.3 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.8542, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005025/0.8547, allocations: 181.8 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.8548, allocations: 55.41 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.478e-05/0.8549, allocations: 121.9 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.8549, allocations: 29.7 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/0.855, allocations: 88.33 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.855, allocations: 19.72 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.855, allocations: 4 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.8552, allocations: 318.8 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.8553, allocations: 51.97 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.8555, allocations: 66.55 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.8556, allocations: 89.67 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.8556, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003845/0.856, allocations: 203.1 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/0.8561, allocations: 41.69 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.8561, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.8561, allocations: 4.062 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.8562, allocations: 15.98 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.8562, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.8564, allocations: 41.62 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.8564, allocations: 19.98 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001054/0.8566, allocations: 121.7 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.8566, allocations: 7.906 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.8566, allocations: 12.38 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8566, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.8566, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.8566, allocations: 3.984 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/0.8572, allocations: 410.4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8572, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.071e-05/0.8572, allocations: 4.562 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.8572, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/0.8572, allocations: 7.984 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.8572, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8572, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.8576, allocations: 251.2 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.8577, allocations: 85.09 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.8577, allocations: 8 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.8578, allocations: 7.984 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.8578, allocations: 7.984 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.8579, allocations: 4 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.8579, allocations: 91.27 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8579, allocations: 4 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002485/0.8582, allocations: 24 kB / 1.027 GB, free: 11.09 MB / 0.7794 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 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * 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.0001721/0.8583, allocations: 107.2 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003663/0.8587, allocations: 187.2 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8587, allocations: 0 / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.8589, allocations: 60.09 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.8591, allocations: 11.94 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.8596, allocations: 213.6 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/0.8598, allocations: 0.6926 MB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.8599, allocations: 11.44 kB / 1.028 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.8599, allocations: 0 / 1.028 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of Templates: time 0.002993/0.8629, allocations: 1.364 MB / 1.03 GB, free: 8.395 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Logical.Validation.TriggeredTrapezoidCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoidCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoidCalcHelperMain.o] Error 1