Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booRep.u|booRep.y.1.|booRep.y.2.|booRep.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 98.89 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.001533/0.001533, allocations: 180.9 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.609/1.609, allocations: 223.2 MB / 240.6 MB, free: 5.445 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.557/2.557, allocations: 390.4 MB / 0.6662 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9138/0.9141, allocations: 142.3 MB / 0.9544 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.0008913/0.9151, allocations: 350.2 kB / 0.9548 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.9165, allocations: 1.088 MB / 0.9558 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.9165, allocations: 0 / 0.9558 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.446e-05/0.9166, allocations: 0 / 0.9558 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.321e-05/0.9166, allocations: 13.77 kB / 0.9558 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.9171, allocations: 104.1 kB / 0.9559 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001114/0.9172, allocations: 73.02 kB / 0.956 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.966e-05/0.9173, allocations: 6.641 kB / 0.956 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.02e-05/0.9174, allocations: 35.84 kB / 0.956 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.811e-05/0.9175, allocations: 18.53 kB / 0.9561 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.9175, allocations: 4.312 kB / 0.9561 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.504e-05/0.9176, allocations: 19.58 kB / 0.9561 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.9176, allocations: 19.08 kB / 0.9561 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.9177, allocations: 32.33 kB / 0.9561 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.9178, allocations: 62.83 kB / 0.9562 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.9178, allocations: 1.094 kB / 0.9562 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9178, allocations: 0 / 0.9562 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.9178, allocations: 0 / 0.9562 GB, free: 6.672 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003874/0.9182, allocations: 367.9 kB / 0.9565 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9183, allocations: 8.156 kB / 0.9566 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.9183, allocations: 8.609 kB / 0.9566 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.9185, allocations: 189.8 kB / 0.9567 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.9185, allocations: 2.812 kB / 0.9567 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.9186, allocations: 8.844 kB / 0.9568 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.9187, allocations: 46.59 kB / 0.9568 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.9187, allocations: 0 / 0.9568 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.9187, allocations: 5.188 kB / 0.9568 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.9187, allocations: 0 / 0.9568 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.717e-05/0.9188, allocations: 10.23 kB / 0.9568 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/0.9191, allocations: 308.7 kB / 0.9571 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.94e-05/0.9192, allocations: 21.31 kB / 0.9571 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.9192, allocations: 11.42 kB / 0.9571 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-06/0.9192, allocations: 0 / 0.9571 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/0.9194, allocations: 66.22 kB / 0.9572 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.9194, allocations: 0 / 0.9572 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.000191/0.9196, allocations: 66.66 kB / 0.9573 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.9196, allocations: 56.44 kB / 0.9573 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.9197, allocations: 105.8 kB / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.9197, allocations: 27.89 kB / 0.9574 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/0.9198, allocations: 95.69 kB / 0.9575 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-06/0.9198, allocations: 1.219 kB / 0.9575 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.9198, allocations: 5.094 kB / 0.9575 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.827e-05/0.9199, allocations: 316 kB / 0.9578 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.704e-05/0.9199, allocations: 31.02 kB / 0.9579 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-05/0.92, allocations: 43.47 kB / 0.9579 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.054e-05/0.9201, allocations: 56.84 kB / 0.958 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.9201, allocations: 5.344 kB / 0.958 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002118/0.9203, allocations: 148.5 kB / 0.9581 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.9204, allocations: 41.48 kB / 0.9582 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.9204, allocations: 5.156 kB / 0.9582 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.9204, allocations: 1.188 kB / 0.9582 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.706e-05/0.9204, allocations: 1.094 kB / 0.9582 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.9204, allocations: 1.188 kB / 0.9582 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.9206, allocations: 40.78 kB / 0.9582 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.9207, allocations: 8.672 kB / 0.9582 GB, free: 4.621 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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 6.583e-05/0.9207, allocations: 119.9 kB / 0.9583 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.9208, allocations: 1.531 kB / 0.9583 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.9208, allocations: 8.859 kB / 0.9583 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.9208, allocations: 1.188 kB / 0.9583 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.9208, allocations: 0 / 0.9583 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9208, allocations: 3.984 kB / 0.9583 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.9209, allocations: 157.9 kB / 0.9585 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9209, allocations: 0 / 0.9585 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-06/0.921, allocations: 1.5 kB / 0.9585 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.921, allocations: 4 kB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.921, allocations: 1.5 kB / 0.9585 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.921, allocations: 7.891 kB / 0.9585 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.921, allocations: 7.922 kB / 0.9585 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001056/0.9211, allocations: 78.41 kB / 0.9586 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.233e-05/0.9211, allocations: 78.42 kB / 0.9587 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.9212, allocations: 5.531 kB / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.966e-05/0.9212, allocations: 0 / 0.9587 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.9212, allocations: 13.12 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.9213, allocations: 2.125 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.181e-05/0.9213, allocations: 84.75 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9213, allocations: 0 / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003778/0.9217, allocations: 23.12 kB / 0.9588 GB, free: 3.992 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0001381/0.9218, allocations: 107.3 kB / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000177/0.922, allocations: 123.9 kB / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.922, allocations: 4.188 kB / 0.959 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.9221, allocations: 9.547 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.9223, allocations: 13.14 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.9225, allocations: 161.2 kB / 0.9592 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.9226, allocations: 0.6843 MB / 0.9599 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.9227, allocations: 13.81 kB / 0.9599 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9227, allocations: 0 / 0.9599 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.002493/0.9252, allocations: 0.8963 MB / 0.9607 GB, free: 2.461 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.Routing.Validation.BooleanScalarReplicatorCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicatorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicatorCalcHelperMain.o] Error 1