Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zeroCrossing.u|zeroCrossing.enable|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zeroCrossing.u|zeroCrossing.enable|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 102.6 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.001882/0.001882, allocations: 176 kB / 16.58 MB, free: 6.859 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.463/1.463, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.486/2.486, allocations: 390.4 MB / 0.6662 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003783, allocations: 11.94 kB / 0.8154 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8775/0.8779, allocations: 142.3 MB / 0.9544 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing): time 0.001132/0.8791, allocations: 0.5125 MB / 0.9549 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.8806, allocations: 1.173 MB / 0.9561 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.549e-05/0.8807, allocations: 1.281 kB / 0.9561 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.8807, allocations: 7.938 kB / 0.9561 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.307e-05/0.8808, allocations: 14.34 kB / 0.9561 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.8813, allocations: 127.5 kB / 0.9562 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.8814, allocations: 129.5 kB / 0.9563 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.8816, allocations: 16.78 kB / 0.9564 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.8817, allocations: 64.19 kB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.8818, allocations: 46.03 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.8818, allocations: 6.469 kB / 0.9565 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.056e-05/0.8819, allocations: 21.08 kB / 0.9565 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.8819, allocations: 19.88 kB / 0.9565 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.084e-05/0.882, allocations: 46.52 kB / 0.9565 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.8821, allocations: 94.3 kB / 0.9566 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.8821, allocations: 0.9375 kB / 0.9566 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8821, allocations: 0 / 0.9566 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.8821, allocations: 0 / 0.9566 GB, free: 6.449 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005933/0.8827, allocations: 441 kB / 0.9571 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.8828, allocations: 9.562 kB / 0.9571 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.8828, allocations: 14.55 kB / 0.9571 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.521e-05/0.8829, allocations: 171.6 kB / 0.9572 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.883, allocations: 4.438 kB / 0.9572 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.91e-05/0.883, allocations: 17.38 kB / 0.9573 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.8833, allocations: 103.8 kB / 0.9574 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.8833, allocations: 3.938 kB / 0.9574 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.8833, allocations: 5.25 kB / 0.9574 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.8833, allocations: 4.969 kB / 0.9574 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/0.8837, allocations: 115.2 kB / 0.9575 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.8842, allocations: 383.9 kB / 0.9579 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.8845, allocations: 107.2 kB / 0.958 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.8847, allocations: 72.28 kB / 0.958 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.012e-05/0.8847, allocations: 0 / 0.958 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003134/0.8851, allocations: 126.9 kB / 0.9581 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.8851, allocations: 4 kB / 0.9581 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0006677/0.8858, allocations: 246.4 kB / 0.9584 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.8858, allocations: 54.53 kB / 0.9584 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.837e-05/0.8859, allocations: 119.9 kB / 0.9586 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.8859, allocations: 38.06 kB / 0.9586 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.886, allocations: 101 kB / 0.9587 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.886, allocations: 31.11 kB / 0.9587 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/0.886, allocations: 5.938 kB / 0.9587 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.781e-05/0.8861, allocations: 322.4 kB / 0.959 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000219/0.8863, allocations: 85.47 kB / 0.9591 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.8866, allocations: 127.8 kB / 0.9592 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.8868, allocations: 111.3 kB / 0.9593 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.8869, allocations: 1.438 kB / 0.9593 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006161/0.8875, allocations: 289.3 kB / 0.9596 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.8875, allocations: 40.45 kB / 0.9597 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8875, allocations: 1.219 kB / 0.9597 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.8876, allocations: 6.203 kB / 0.9597 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.8877, allocations: 27.23 kB / 0.9597 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.8878, allocations: 2.594 kB / 0.9597 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.888, allocations: 73.38 kB / 0.9598 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.8881, allocations: 7.062 kB / 0.9598 GB, free: 3.887 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul1.y,booPul1.y,zeroCrossing.y,$PRE.zeroCrossing.enable,zeroCrossing.enable,$PRE.zeroCrossing.disable,zeroCrossing.disable,$PRE.zeroCrossing.u_pos,zeroCrossing.u_pos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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 9.849e-05/0.8882, allocations: 126.6 kB / 0.9599 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.916e-05/0.8882, allocations: 16.47 kB / 0.9599 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004722/0.8887, allocations: 200.7 kB / 0.9601 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.8887, allocations: 1 kB / 0.9601 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8887, allocations: 1.094 kB / 0.9601 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.8887, allocations: 3.984 kB / 0.9601 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.8894, allocations: 464.5 kB / 0.9605 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8894, allocations: 1.375 kB / 0.9605 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.8895, allocations: 27.03 kB / 0.9606 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.8896, allocations: 5.375 kB / 0.9606 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.8896, allocations: 5.375 kB / 0.9606 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.8896, allocations: 1.375 kB / 0.9606 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8896, allocations: 0 / 0.9606 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.89, allocations: 271 kB / 0.9608 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.8901, allocations: 91.66 kB / 0.9609 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.8901, allocations: 9.359 kB / 0.9609 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.8902, allocations: 20.36 kB / 0.961 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.8903, allocations: 21.41 kB / 0.961 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.8903, allocations: 4.125 kB / 0.961 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.8904, allocations: 92.89 kB / 0.9611 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.523e-06/0.8904, allocations: 0 / 0.9611 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002977/0.8907, allocations: 42.09 kB / 0.9611 GB, free: 2.793 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: 9 (zeroCrossing.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul1.y,zeroCrossing.enable,zeroCrossing.disable,zeroCrossing.u_pos,triggeredSampler.y) * Number of discrete states: 3 (zeroCrossing.u_pos,zeroCrossing.enable,zeroCrossing.disable) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.0002187/0.8909, allocations: 109.2 kB / 0.9612 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006204/0.8915, allocations: 259.3 kB / 0.9615 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8915, allocations: 0 / 0.9615 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.8918, allocations: 80.86 kB / 0.9615 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.8921, allocations: 22.98 kB / 0.9616 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.8926, allocations: 247.6 kB / 0.9618 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.8928, allocations: 0.7011 MB / 0.9625 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.92e-05/0.8929, allocations: 17.56 kB / 0.9625 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of SimCode: time 4.8e-07/0.8929, allocations: 0 / 0.9625 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of Templates: time 0.004221/0.8971, allocations: 1.623 MB / 0.9641 GB, free: 0.7422 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossing.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.Logical.Validation.ZeroCrossingCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossingCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.ZeroCrossingCalcHelperMain.o] Error 1