Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008859/0.0008859, allocations: 185.3 kB / 24.09 MB, free: 412 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9151/0.9151, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.745/1.745, allocations: 359 MB / 0.6055 GB, free: 10.89 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 3.938 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.186e-05/1.376e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001079/0.001093, allocations: 0.6349 MB / 0.7882 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007496/0.001842, allocations: 0.8599 MB / 0.789 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.001871, allocations: 1.406 kB / 0.789 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.31e-05/0.001894, allocations: 3.938 kB / 0.789 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.47e-05/0.001949, allocations: 3.938 kB / 0.789 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001193/0.002068, allocations: 19.86 kB / 0.789 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.002123, allocations: 33.06 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 6.869e-05/0.002191, allocations: 0 / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.002262, allocations: 15.98 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.0023, allocations: 13.05 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.002314, allocations: 0 / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.002322, allocations: 4 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.002337, allocations: 9.156 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.002353, allocations: 7.984 kB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.255e-05/0.002426, allocations: 19.97 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.002428, allocations: 1.25 kB / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002428, allocations: 0 / 0.7891 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.002431, allocations: 0 / 0.7891 GB, free: 10.59 MB / 0.7448 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.0002662/0.002697, allocations: 350.3 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.002729, allocations: 8.031 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.002753, allocations: 12.89 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.349e-05/0.002817, allocations: 116.5 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.002831, allocations: 5.375 kB / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.002837, allocations: 384 / 0.7896 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.34e-05/0.00293, allocations: 60.52 kB / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.85e-06/0.002935, allocations: 192 / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.36e-06/0.00294, allocations: 384 / 0.7897 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.002944, allocations: 4.312 kB / 0.7897 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.002967, allocations: 11.92 kB / 0.7897 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.003164, allocations: 229.9 kB / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.257e-05/0.003207, allocations: 43.03 kB / 0.7899 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.44e-05/0.003221, allocations: 10.5 kB / 0.7899 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.003234, allocations: 4.062 kB / 0.7899 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.003251, allocations: 33.39 kB / 0.79 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.003252, allocations: 0 / 0.79 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001124/0.003364, allocations: 53.52 kB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.003385, allocations: 55.41 kB / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.913e-05/0.003444, allocations: 157.9 kB / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.003453, allocations: 26.42 kB / 0.7903 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.003488, allocations: 130.9 kB / 0.7904 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.482e-05/0.003503, allocations: 5.609 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.003526, allocations: 23.36 kB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.003626, allocations: 496.1 kB / 0.7909 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-06/0.003635, allocations: 0 / 0.7909 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-06/0.003644, allocations: 9.234 kB / 0.7909 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.278e-05/0.003667, allocations: 15.69 kB / 0.7909 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.003668, allocations: 1.75 kB / 0.7909 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.398e-05/0.003712, allocations: 37.64 kB / 0.7909 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.003721, allocations: 4 kB / 0.7909 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.003724, allocations: 4 kB / 0.791 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.003736, allocations: 9.109 kB / 0.791 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.003787, allocations: 4 kB / 0.791 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-06/0.003789, allocations: 0 / 0.791 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.003804, allocations: 5.719 kB / 0.791 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.003808, allocations: 4 kB / 0.791 GB, free: 8.516 MB / 0.7448 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.65e-05/0.003865, allocations: 160.6 kB / 0.7911 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.215e-05/0.003877, allocations: 5.844 kB / 0.7911 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.584e-05/0.003893, allocations: 3.312 kB / 0.7911 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.003895, allocations: 3.938 kB / 0.7911 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.003896, allocations: 0 / 0.7911 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.003899, allocations: 0 / 0.7911 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.63e-05/0.003975, allocations: 94.02 kB / 0.7912 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.003976, allocations: 3.984 kB / 0.7912 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.003996, allocations: 12.47 kB / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.003997, allocations: 0 / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-06/0.004001, allocations: 0.7188 kB / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.004002, allocations: 0 / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.91e-07/0.004002, allocations: 0.5312 kB / 0.7912 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.457e-05/0.004087, allocations: 201.1 kB / 0.7914 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.004093, allocations: 3.953 kB / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.572e-06/0.004099, allocations: 0 / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.927e-05/0.004129, allocations: 8.516 kB / 0.7914 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.004157, allocations: 9.562 kB / 0.7915 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.004161, allocations: 3.938 kB / 0.7915 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.97e-05/0.004191, allocations: 131.2 kB / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.004191, allocations: 0 / 0.7916 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001359/0.004327, allocations: 5.156 kB / 0.7916 GB, free: 7.832 MB / 0.7448 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.847e-05/0.004385, allocations: 92.06 kB / 0.7917 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.412e-05/0.004439, allocations: 24.55 kB / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-06/0.00444, allocations: 0 / 0.7917 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-05/0.004459, allocations: 21.03 kB / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.004608, allocations: 4 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001778/0.004785, allocations: 111.1 kB / 0.7918 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.923e-05/0.004815, allocations: 61.22 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.004832, allocations: 4 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.005015, allocations: 70.2 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.005015, allocations: 0.8125 kB / 0.792 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of Templates: time 0.001839/0.006854, allocations: 0.7036 MB / 0.7926 GB, free: 6.711 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.707811287604272]