Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 99.59 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.001967/0.001966, allocations: 175.4 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.551/1.551, allocations: 223.3 MB / 240.6 MB, free: 5.406 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.5/2.5, allocations: 390.5 MB / 0.6662 GB, free: 2.855 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.000381, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8516/0.852, allocations: 142.3 MB / 0.9544 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.000851/0.8529, allocations: 382.6 kB / 0.9548 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.8538, allocations: 0.8262 MB / 0.9556 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.449e-05/0.8538, allocations: 1.219 kB / 0.9556 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.8538, allocations: 3.938 kB / 0.9556 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.8539, allocations: 1.125 kB / 0.9556 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.854, allocations: 20.77 kB / 0.9556 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.8541, allocations: 41.56 kB / 0.9556 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.8542, allocations: 17.06 kB / 0.9557 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.8543, allocations: 10.03 kB / 0.9557 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.8544, allocations: 27.06 kB / 0.9557 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.8544, allocations: 1.375 kB / 0.9557 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.8544, allocations: 1.625 kB / 0.9557 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.66e-05/0.8544, allocations: 6.406 kB / 0.9557 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.942e-05/0.8545, allocations: 27.05 kB / 0.9557 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.785e-05/0.8545, allocations: 37.56 kB / 0.9558 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.8545, allocations: 5.438 kB / 0.9558 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8546, allocations: 0 / 0.9558 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.8546, allocations: 0 / 0.9558 GB, free: 7.082 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004052/0.855, allocations: 344.4 kB / 0.9561 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.855, allocations: 9.219 kB / 0.9561 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.961e-05/0.8551, allocations: 13.55 kB / 0.9561 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.8552, allocations: 174.1 kB / 0.9563 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.8552, allocations: 4.938 kB / 0.9563 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.8552, allocations: 6.344 kB / 0.9563 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.8554, allocations: 68.53 kB / 0.9564 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.8554, allocations: 0 / 0.9564 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.8555, allocations: 1 kB / 0.9564 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.8555, allocations: 0.9688 kB / 0.9564 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.8557, allocations: 64.31 kB / 0.9564 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.856, allocations: 284.8 kB / 0.9567 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.8562, allocations: 72.31 kB / 0.9568 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/0.8563, allocations: 35.09 kB / 0.9568 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.8564, allocations: 1.219 kB / 0.9568 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.8564, allocations: 31.97 kB / 0.9568 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.8564, allocations: 4 kB / 0.9568 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003776/0.8568, allocations: 130.7 kB / 0.957 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.8568, allocations: 56.94 kB / 0.957 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.093e-05/0.8569, allocations: 104.8 kB / 0.9571 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.8569, allocations: 25.7 kB / 0.9571 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.441e-05/0.8569, allocations: 86.64 kB / 0.9572 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.727e-05/0.857, allocations: 12.91 kB / 0.9572 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.857, allocations: 4 kB / 0.9572 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.683e-05/0.857, allocations: 320.1 kB / 0.9575 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-05/0.8571, allocations: 33.39 kB / 0.9576 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.558e-05/0.8572, allocations: 29.56 kB / 0.9576 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.357e-05/0.8573, allocations: 25.42 kB / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.8573, allocations: 0 / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002186/0.8575, allocations: 107.2 kB / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.8576, allocations: 6.562 kB / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.8576, allocations: 0 / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.8576, allocations: 5.328 kB / 0.9577 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.8577, allocations: 14.45 kB / 0.9578 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.8578, allocations: 5 kB / 0.9578 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.036e-05/0.8578, allocations: 9.609 kB / 0.9578 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.8578, allocations: 2.375 kB / 0.9578 GB, free: 5.168 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.692e-05/0.8579, allocations: 111.7 kB / 0.9579 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.8579, allocations: 10.11 kB / 0.9579 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.858, allocations: 9.031 kB / 0.9579 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.858, allocations: 3.953 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.858, allocations: 5.125 kB / 0.9579 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.858, allocations: 0 / 0.9579 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.8581, allocations: 171.6 kB / 0.9581 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8581, allocations: 0 / 0.9581 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.846e-05/0.8582, allocations: 15.33 kB / 0.9581 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.8582, allocations: 3.938 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.8583, allocations: 1.406 kB / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.8583, allocations: 256 / 0.9581 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8583, allocations: 9.391 kB / 0.9581 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.8585, allocations: 188.7 kB / 0.9583 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/0.8586, allocations: 82.08 kB / 0.9584 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.8586, allocations: 1.219 kB / 0.9584 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.023e-05/0.8587, allocations: 13.89 kB / 0.9584 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.8587, allocations: 12.33 kB / 0.9584 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.8588, allocations: 5.234 kB / 0.9584 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.889e-05/0.8588, allocations: 87.61 kB / 0.9585 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8588, allocations: 1.125 kB / 0.9585 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002143/0.859, allocations: 5.938 kB / 0.9585 GB, free: 4.441 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: 1 (reaToInt1.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): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.656e-05/0.8591, allocations: 95.88 kB / 0.9586 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.8594, allocations: 75.83 kB / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8594, allocations: 0 / 0.9586 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.8595, allocations: 33.75 kB / 0.9587 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.8598, allocations: 6.406 kB / 0.9587 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.8601, allocations: 162 kB / 0.9588 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001202/0.8602, allocations: 0.6837 MB / 0.9595 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.232e-05/0.8603, allocations: 14.56 kB / 0.9595 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8603, allocations: 3.938 kB / 0.9595 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of Templates: time 0.002311/0.8626, allocations: 0.782 MB / 0.9603 GB, free: 3.031 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.IntegerToRealCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToRealCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToRealCalcHelperMain.o] Error 1