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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001876/0.001876, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002426/0.002426, allocations: 189 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.957/2.957, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.002011/0.002011, allocations: 63.91 kB / 1.109 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 168.7 MB / 1.274 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002336/1.01, allocations: 0.6135 MB / 1.275 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001287/1.011, allocations: 0.8429 MB / 1.275 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.828e-05/1.012, allocations: 0 / 1.275 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/1.012, allocations: 3.938 kB / 1.275 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.119e-05/1.012, allocations: 0 / 1.275 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/1.012, allocations: 15.92 kB / 1.275 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.223e-05/1.012, allocations: 27.97 kB / 1.275 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/1.012, allocations: 0 / 1.275 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.838e-05/1.012, allocations: 15.88 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.669e-05/1.012, allocations: 11.98 kB / 1.276 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/1.012, allocations: 4 kB / 1.276 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/1.012, allocations: 8 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/1.012, allocations: 11.97 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/1.012, allocations: 11.88 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.795e-05/1.012, allocations: 23.91 kB / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/1.012, allocations: 0 / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.974e-06/1.012, allocations: 0 / 1.276 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.152e-06/1.012, allocations: 0 / 1.276 GB, free: 2.906 MB / 0.9669 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.0005858/1.013, allocations: 342.1 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.013, allocations: 12.03 kB / 1.276 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/1.013, allocations: 8.891 kB / 1.276 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/1.013, allocations: 160.4 kB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/1.013, allocations: 384 / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/1.013, allocations: 4.375 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/1.013, allocations: 54.17 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/1.013, allocations: 192 / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/1.013, allocations: 7.922 kB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.013, allocations: 3.984 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/1.014, allocations: 35.97 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/1.014, allocations: 249 kB / 1.276 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/1.014, allocations: 46.48 kB / 1.276 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.665e-05/1.014, allocations: 20.91 kB / 1.276 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/1.014, allocations: 7.938 kB / 1.276 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/1.014, allocations: 34.56 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/1.014, allocations: 0 / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003958/1.015, allocations: 85.58 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/1.015, allocations: 55.39 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.015, allocations: 102 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/1.015, allocations: 25.7 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/1.015, allocations: 88.09 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/1.015, allocations: 7.922 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.802e-05/1.015, allocations: 17.7 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.015, allocations: 314.8 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.994e-05/1.015, allocations: 15.98 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.623e-05/1.015, allocations: 27.91 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/1.015, allocations: 40.83 kB / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.015, allocations: 0 / 1.277 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002077/1.016, allocations: 73.55 kB / 1.277 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.016, allocations: 5.562 kB / 1.277 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/1.016, allocations: 3.984 kB / 1.277 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/1.016, allocations: 4.094 kB / 1.277 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/1.016, allocations: 11.98 kB / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/1.016, allocations: 0 / 1.277 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/1.016, allocations: 7.984 kB / 1.277 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/1.016, allocations: 0 / 1.277 GB, free: 0.8477 MB / 0.9669 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 0.0001072/1.016, allocations: 125.7 kB / 1.277 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/1.016, allocations: 0 / 1.277 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/1.016, allocations: 3.125 kB / 1.277 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.016, allocations: 4 kB / 1.277 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/1.016, allocations: 3.984 kB / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/1.016, allocations: 0 / 1.278 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/1.016, allocations: 161.6 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/1.016, allocations: 0 / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.26e-05/1.016, allocations: 11.98 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.016, allocations: 0 / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/1.016, allocations: 4 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.016, allocations: 0 / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.016, allocations: 0 / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/1.017, allocations: 167.5 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/1.017, allocations: 85.05 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/1.017, allocations: 0 / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.788e-05/1.017, allocations: 7.938 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.113e-05/1.017, allocations: 15.92 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/1.017, allocations: 4.031 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.346e-05/1.017, allocations: 83.28 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of sort global known variables: time 8.1e-08/1.017, allocations: 0 / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002113/1.017, allocations: 4 kB / 1.278 GB, free: 92 kB / 0.9669 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 0.0001493/1.017, allocations: 99.77 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002424/1.018, allocations: 35.97 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.018, allocations: 4.062 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.477e-05/1.018, allocations: 23.97 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/1.018, allocations: 8.266 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003816/1.018, allocations: 124.3 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/1.019, allocations: 0.6768 MB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.042e-05/1.019, allocations: 4.062 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/1.019, allocations: 11.44 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/1.019, allocations: 0 / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.003388/1.022, allocations: 0.5995 MB / 1.28 GB, free: 14.46 MB / 0.9825 GB " [Timeout remaining time 299] 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=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.424973210785538]