Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009426/0.0009428, allocations: 103 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.001111/0.001111, allocations: 173.1 kB / 16.58 MB, free: 6.402 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.515/1.515, allocations: 223.3 MB / 240.6 MB, free: 5.32 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.645/2.645, allocations: 390.5 MB / 0.6662 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004335, allocations: 12 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9489/0.9494, allocations: 142.3 MB / 0.9544 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.0009786/0.9504, allocations: 388.6 kB / 0.9548 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001715/0.9521, allocations: 1.155 MB / 0.9559 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.588e-05/0.9522, allocations: 0 / 0.9559 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.919e-05/0.9523, allocations: 0 / 0.9559 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.927e-05/0.9524, allocations: 13.38 kB / 0.9559 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007933/0.9532, allocations: 195 kB / 0.9561 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.9534, allocations: 137.2 kB / 0.9562 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.9535, allocations: 9.75 kB / 0.9563 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.9536, allocations: 58.41 kB / 0.9563 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.9537, allocations: 44.84 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.645e-05/0.9538, allocations: 8.406 kB / 0.9564 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.9539, allocations: 18.77 kB / 0.9564 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.296e-05/0.9539, allocations: 6.781 kB / 0.9564 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.954, allocations: 45.2 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.9542, allocations: 107.6 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.9542, allocations: 1.219 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.9542, allocations: 0 / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.9542, allocations: 0 / 0.9565 GB, free: 6.496 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.0004459/0.9547, allocations: 405.5 kB / 0.9569 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.9547, allocations: 8.906 kB / 0.9569 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.9548, allocations: 19.98 kB / 0.957 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.9549, allocations: 177.5 kB / 0.9571 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.9549, allocations: 8 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.955, allocations: 13.06 kB / 0.9571 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.9551, allocations: 46.69 kB / 0.9572 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.9551, allocations: 3.984 kB / 0.9572 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.9551, allocations: 0.9062 kB / 0.9572 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.9552, allocations: 0.875 kB / 0.9572 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.838e-05/0.9552, allocations: 19.45 kB / 0.9572 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.9557, allocations: 352 kB / 0.9575 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.881e-05/0.9558, allocations: 44.25 kB / 0.9576 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.659e-05/0.9558, allocations: 10.8 kB / 0.9576 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.9558, allocations: 0 / 0.9576 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.956, allocations: 83.89 kB / 0.9577 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.956, allocations: 1.125 kB / 0.9577 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002604/0.9562, allocations: 118.3 kB / 0.9578 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.9563, allocations: 57.62 kB / 0.9578 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.746e-05/0.9564, allocations: 114.6 kB / 0.958 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.9564, allocations: 29.14 kB / 0.958 GB, free: 5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.9565, allocations: 93.73 kB / 0.9581 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.9565, allocations: 14.05 kB / 0.9581 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.9565, allocations: 3.812 kB / 0.9581 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.9566, allocations: 315.9 kB / 0.9584 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.9567, allocations: 58.95 kB / 0.9584 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.9569, allocations: 98.92 kB / 0.9585 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.9571, allocations: 115.2 kB / 0.9587 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.9571, allocations: 3.938 kB / 0.9587 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004064/0.9575, allocations: 262.1 kB / 0.9589 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.9575, allocations: 72.77 kB / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9576, allocations: 1.5 kB / 0.959 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.9576, allocations: 4.984 kB / 0.959 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.506e-05/0.9576, allocations: 6.578 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.9576, allocations: 1.25 kB / 0.959 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.958, allocations: 82.84 kB / 0.9591 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.9581, allocations: 13.77 kB / 0.9591 GB, free: 4.086 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001242/0.9582, allocations: 124.9 kB / 0.9592 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.9583, allocations: 6.938 kB / 0.9592 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.9583, allocations: 9.438 kB / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.9583, allocations: 5.047 kB / 0.9592 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.9583, allocations: 0 / 0.9592 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.9584, allocations: 5.203 kB / 0.9592 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.9585, allocations: 171.8 kB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9585, allocations: 1.25 kB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.9585, allocations: 1.5 kB / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9585, allocations: 0 / 0.9594 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.9585, allocations: 9.547 kB / 0.9594 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.9585, allocations: 4.062 kB / 0.9594 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.9586, allocations: 9.516 kB / 0.9594 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.9587, allocations: 107 kB / 0.9595 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.9587, allocations: 82.27 kB / 0.9596 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.9588, allocations: 6.25 kB / 0.9596 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.808e-05/0.9588, allocations: 0 / 0.9596 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.9588, allocations: 7.516 kB / 0.9596 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.9589, allocations: 6.547 kB / 0.9596 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.549e-05/0.9589, allocations: 98.45 kB / 0.9597 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9589, allocations: 0 / 0.9597 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002594/0.9592, allocations: 31.81 kB / 0.9597 GB, free: 3.426 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.000163/0.9593, allocations: 98.53 kB / 0.9598 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003123/0.9597, allocations: 243.1 kB / 0.9601 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9597, allocations: 0 / 0.9601 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.949e-05/0.9597, allocations: 37.03 kB / 0.9601 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.96, allocations: 20.48 kB / 0.9601 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.9603, allocations: 188.1 kB / 0.9603 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.9605, allocations: 0.6878 MB / 0.961 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.347e-05/0.9605, allocations: 15.56 kB / 0.961 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.9606, allocations: 0 / 0.961 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of Templates: time 0.003907/0.9645, allocations: 1.369 MB / 0.9623 GB, free: 1.531 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.OrCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OrCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.OrCalcHelperMain.o] Error 1