Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009247, allocations: 100.1 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.0008848/0.0008848, allocations: 175 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.458/1.458, allocations: 223.2 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.817/2.817, allocations: 436.7 MB / 0.7113 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 19.92 kB / 0.8717 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.7709, allocations: 153.6 MB / 1.022 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001083/0.7721, allocations: 474.1 kB / 1.022 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.7735, allocations: 1.128 MB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.7736, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.972e-05/0.7736, allocations: 0 / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.048e-05/0.7737, allocations: 3.938 kB / 1.023 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004865/0.7742, allocations: 118.8 kB / 1.023 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.7743, allocations: 103.8 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.7745, allocations: 19.91 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.756e-05/0.7746, allocations: 35.91 kB / 1.024 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.7746, allocations: 27.91 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.7747, allocations: 8 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.7747, allocations: 23.97 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.228e-05/0.7748, allocations: 11.92 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.148e-05/0.7748, allocations: 33.7 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.775, allocations: 83.81 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.775, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.545e-06/0.775, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.775, allocations: 0 / 1.024 GB, free: 15.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005805/0.7756, allocations: 398.8 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.7756, allocations: 15.92 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.7757, allocations: 11.91 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.7758, allocations: 167 kB / 1.024 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.7758, allocations: 11.94 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.7759, allocations: 12 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.7761, allocations: 69.61 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.7761, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.7761, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.7761, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.7763, allocations: 51.95 kB / 1.024 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005122/0.7768, allocations: 340.7 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.777, allocations: 66.61 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.7772, allocations: 32.97 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.7772, allocations: 4 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.7774, allocations: 99.27 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 4.569e-06/0.7775, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004805/0.7779, allocations: 157.8 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.778, allocations: 51.41 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.7781, allocations: 121.8 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.7782, allocations: 29.7 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.7783, allocations: 92.12 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.429e-05/0.7783, allocations: 23.81 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.692e-05/0.7783, allocations: 8 kB / 1.025 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7785, allocations: 318.8 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.7786, allocations: 55.91 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.7788, allocations: 96.25 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.779, allocations: 97.62 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.779, allocations: 3.938 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000447/0.7795, allocations: 219.2 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.7795, allocations: 33.7 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.7796, allocations: 7.922 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7796, allocations: 0 / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.541e-05/0.7797, allocations: 16.12 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.7797, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.7799, allocations: 54.39 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.689e-05/0.78, allocations: 15.98 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * 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.0001485/0.7801, allocations: 127.5 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.7801, allocations: 4 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.7802, allocations: 8.375 kB / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7802, allocations: 0 / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.7802, allocations: 0 / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7802, allocations: 0 / 1.026 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.7807, allocations: 390.4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.7807, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.842e-05/0.7808, allocations: 19.92 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7808, allocations: 0 / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.7808, allocations: 8 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7808, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7808, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.7811, allocations: 215.5 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.408e-05/0.7812, allocations: 92.94 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.7812, allocations: 4 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.7813, allocations: 8 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.7814, allocations: 11.97 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.7814, allocations: 0 / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.821e-05/0.7815, allocations: 91.27 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7815, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002694/0.7817, allocations: 28 kB / 1.027 GB, free: 11.12 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002354/0.782, allocations: 111.2 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004044/0.7824, allocations: 187.2 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7824, allocations: 4.25 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.7825, allocations: 39.98 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.7828, allocations: 19.94 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004161/0.7833, allocations: 204.9 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.7836, allocations: 0.6926 MB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.7836, allocations: 7.438 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.7836, allocations: 7.938 kB / 1.029 GB, free: 9.781 MB / 0.7794 GB Notification: Performance of Templates: time 0.003574/0.7872, allocations: 1.232 MB / 1.03 GB, free: 8.559 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.EdgeCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.EdgeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.EdgeCalcHelperMain.o] Error 1