Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToRea.u|booToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009732/0.0009734, allocations: 99.44 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.001232/0.001232, allocations: 174.5 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.509/1.509, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.498/2.498, allocations: 390.4 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9623/0.9627, allocations: 142.3 MB / 0.9544 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.000857/0.9636, allocations: 337.3 kB / 0.9547 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.9652, allocations: 1.086 MB / 0.9558 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.013e-05/0.9653, allocations: 1.719 kB / 0.9558 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.9653, allocations: 7.938 kB / 0.9558 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.9654, allocations: 7.922 kB / 0.9558 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.9659, allocations: 108.4 kB / 0.9559 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.966, allocations: 68.11 kB / 0.956 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.9661, allocations: 2.969 kB / 0.956 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.542e-05/0.9662, allocations: 35.8 kB / 0.956 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.9663, allocations: 31.53 kB / 0.956 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.9663, allocations: 8.594 kB / 0.9561 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.9664, allocations: 13.62 kB / 0.9561 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.9664, allocations: 6.359 kB / 0.9561 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.9665, allocations: 31.92 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.9666, allocations: 61.55 kB / 0.9562 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9666, allocations: 0 / 0.9562 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9666, allocations: 1.219 kB / 0.9562 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.9666, allocations: 0 / 0.9562 GB, free: 6.781 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000373/0.967, allocations: 361.8 kB / 0.9565 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.9671, allocations: 10.31 kB / 0.9565 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.9671, allocations: 15.48 kB / 0.9565 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.9672, allocations: 168.4 kB / 0.9567 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.9673, allocations: 2.938 kB / 0.9567 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.9673, allocations: 9.812 kB / 0.9567 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.65e-05/0.9674, allocations: 34.03 kB / 0.9567 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.9674, allocations: 1.562 kB / 0.9567 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.9674, allocations: 0 / 0.9567 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.9674, allocations: 0 / 0.9567 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.347e-05/0.9675, allocations: 13.48 kB / 0.9568 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.9679, allocations: 296 kB / 0.957 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.9679, allocations: 25.8 kB / 0.9571 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.114e-05/0.968, allocations: 11.73 kB / 0.9571 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.968, allocations: 1.406 kB / 0.9571 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001409/0.9681, allocations: 58.83 kB / 0.9571 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.9681, allocations: 4 kB / 0.9571 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002018/0.9683, allocations: 83.86 kB / 0.9572 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.9684, allocations: 51.41 kB / 0.9573 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.153e-05/0.9684, allocations: 110.8 kB / 0.9574 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.9685, allocations: 28.27 kB / 0.9574 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.9685, allocations: 83.02 kB / 0.9575 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.9685, allocations: 9.344 kB / 0.9575 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.9686, allocations: 5.281 kB / 0.9575 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.87e-05/0.9686, allocations: 324.3 kB / 0.9578 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.866e-05/0.9687, allocations: 31.8 kB / 0.9578 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.259e-05/0.9688, allocations: 48.62 kB / 0.9579 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.554e-05/0.9689, allocations: 62.56 kB / 0.9579 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9689, allocations: 0 / 0.9579 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002252/0.9691, allocations: 152.6 kB / 0.9581 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/0.9692, allocations: 44.81 kB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9692, allocations: 1.797 kB / 0.9581 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.9692, allocations: 5.391 kB / 0.9581 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.4e-05/0.9693, allocations: 1.531 kB / 0.9581 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.9693, allocations: 1.344 kB / 0.9581 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.9695, allocations: 38.19 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.9695, allocations: 12.58 kB / 0.9582 GB, free: 4.738 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 ($whenCondition1,$whenCondition2,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 7.311e-05/0.9696, allocations: 118.5 kB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.039e-05/0.9696, allocations: 1.875 kB / 0.9583 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.9696, allocations: 5.062 kB / 0.9583 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.9697, allocations: 5.188 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9697, allocations: 3.953 kB / 0.9583 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/0.9697, allocations: 0.8125 kB / 0.9583 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.678e-05/0.9698, allocations: 164.7 kB / 0.9585 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9698, allocations: 0 / 0.9585 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.9698, allocations: 5.875 kB / 0.9585 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.9698, allocations: 5.156 kB / 0.9585 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.9698, allocations: 0.9062 kB / 0.9585 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9698, allocations: 0 / 0.9585 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9698, allocations: 1.062 kB / 0.9585 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.9699, allocations: 89.06 kB / 0.9586 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.603e-05/0.97, allocations: 78.17 kB / 0.9586 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.97, allocations: 1 kB / 0.9586 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.97, allocations: 9.031 kB / 0.9587 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.97, allocations: 5.797 kB / 0.9587 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.97, allocations: 1.125 kB / 0.9587 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.207e-05/0.9701, allocations: 88.58 kB / 0.9587 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9701, allocations: 0 / 0.9587 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002119/0.9703, allocations: 15 kB / 0.9588 GB, free: 4.113 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 (4): * Single equations (assignments): 3 * 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.0001361/0.9705, allocations: 106.2 kB / 0.9589 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.9707, allocations: 130 kB / 0.959 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9707, allocations: 0 / 0.959 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4e-05/0.9707, allocations: 13.5 kB / 0.959 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.9709, allocations: 13.52 kB / 0.959 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.9712, allocations: 161.1 kB / 0.9592 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.9714, allocations: 0.6875 MB / 0.9598 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.9714, allocations: 9.625 kB / 0.9598 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.9714, allocations: 0 / 0.9598 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of Templates: time 0.00297/0.9744, allocations: 0.9214 MB / 0.9607 GB, free: 2.559 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.Conversions.Validation.BooleanToRealCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToRealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToRealCalcHelperMain.o] Error 1