Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.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.Integers.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerSwitch.u1|integerSwitch.u2|integerSwitch.u3|integerSwitch.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerSwitch.u1|integerSwitch.u2|integerSwitch.u3|integerSwitch.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009892/0.0009891, allocations: 100.5 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.001202/0.001202, allocations: 176 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.536/1.536, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 436.7 MB / 0.7113 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.000378, allocations: 12.22 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8478/0.8482, allocations: 153.6 MB / 1.022 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001351/0.8496, allocations: 0.5276 MB / 1.022 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00254/0.8521, allocations: 1.269 MB / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.35e-05/0.8522, allocations: 0 / 1.023 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.8523, allocations: 7.922 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.8524, allocations: 15.86 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001186/0.8536, allocations: 296.1 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.854, allocations: 227.5 kB / 1.024 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.8541, allocations: 37.55 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.8543, allocations: 99.78 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.8545, allocations: 79.7 kB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.187e-05/0.8546, allocations: 16 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.8547, allocations: 31.92 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.258e-05/0.8548, allocations: 11.98 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.8549, allocations: 53.64 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002872/0.8552, allocations: 181.7 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.8552, allocations: 3.938 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8552, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.8552, allocations: 0 / 1.025 GB, free: 14.39 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007522/0.856, allocations: 492 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.856, allocations: 15.98 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.8561, allocations: 19.81 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.8563, allocations: 178.1 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.575e-05/0.8564, allocations: 15.95 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.8565, allocations: 20 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002466/0.8567, allocations: 99.06 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.8567, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.8568, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.8568, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.8569, allocations: 55.94 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.8578, allocations: 0.4925 MB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.8581, allocations: 62.62 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.8582, allocations: 32.91 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.8582, allocations: 0 / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002942/0.8585, allocations: 118.4 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.8585, allocations: 0 / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.0004664/0.859, allocations: 165.5 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.8591, allocations: 59.41 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.8593, allocations: 168.5 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.8594, allocations: 33.69 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.8595, allocations: 112 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.8595, allocations: 23.7 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.8596, allocations: 11.94 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.8598, allocations: 326.8 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.86, allocations: 95.94 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.8604, allocations: 147.6 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.8607, allocations: 173.1 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.8607, allocations: 3.938 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008472/0.8615, allocations: 407.7 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.979e-05/0.8616, allocations: 97.09 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.8617, allocations: 4 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8617, allocations: 4 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.8618, allocations: 12 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.8618, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.8625, allocations: 123.9 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.886e-05/0.8626, allocations: 23.97 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,$PRE.booPul3.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001708/0.8628, allocations: 137.7 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.8628, allocations: 11.89 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.82e-05/0.8629, allocations: 16.84 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8629, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8629, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.8629, allocations: 4 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.8632, allocations: 233.4 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8632, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.8632, allocations: 11.94 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.8632, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.8633, allocations: 8 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8633, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8633, allocations: 3.984 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.8636, allocations: 157 kB / 1.029 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-05/0.8636, allocations: 92.91 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.8637, allocations: 0 / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.8637, allocations: 4 kB / 1.029 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.694e-05/0.8638, allocations: 11.98 kB / 1.029 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.8638, allocations: 8 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001007/0.8639, allocations: 114.8 kB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of sort global known variables: time 6.81e-07/0.8639, allocations: 0 / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003701/0.8643, allocations: 52 kB / 1.029 GB, free: 9.605 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002328/0.8645, allocations: 115.2 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000594/0.8651, allocations: 382 kB / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.8651, allocations: 0 / 1.029 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.8653, allocations: 59.78 kB / 1.029 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.8656, allocations: 36.3 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005559/0.8662, allocations: 285.1 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.8666, allocations: 0.7126 MB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.8666, allocations: 19.38 kB / 1.03 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.8666, allocations: 0 / 1.03 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of Templates: time 0.005173/0.8718, allocations: 2.243 MB / 1.033 GB, free: 5.695 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.makefile make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.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.Integers.Validation.SwitchCalcHelperMain.o OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.SwitchCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.SwitchCalcHelperMain.o] Error 1