Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008161/0.0008161, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.001928, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0008246/0.0008246, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001832, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9806/0.9806, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1005/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.945/1.945, allocations: 378.4 MB / 0.6079 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5767/2.522, allocations: 123.3 MB / 0.7283 GB, free: 5.711 MB / 0.698 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.7296 GB, free: 4.426 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.81e-05/3.032e-05, allocations: 3.562 kB / 0.7296 GB, free: 4.422 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001964/0.001994, allocations: 0.6774 MB / 0.7303 GB, free: 3.773 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.00296, allocations: 0.8694 MB / 0.7311 GB, free: 2.898 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.00299, allocations: 0 / 0.7311 GB, free: 2.898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.265e-05/0.003013, allocations: 4.75 kB / 0.7311 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.72e-05/0.00305, allocations: 4.766 kB / 0.7311 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 8.572e-05/0.003136, allocations: 24.5 kB / 0.7312 GB, free: 2.867 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.431e-05/0.00321, allocations: 25.27 kB / 0.7312 GB, free: 2.848 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.54e-05/0.003296, allocations: 12 kB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.006396, allocations: 20.27 kB / 0.7312 GB, free: 2.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.006449, allocations: 11.98 kB / 0.7312 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.006472, allocations: 0.875 kB / 0.7312 GB, free: 2.809 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.918e-06/0.006482, allocations: 4 kB / 0.7312 GB, free: 2.805 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.0065, allocations: 4.984 kB / 0.7312 GB, free: 2.801 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.006523, allocations: 7.25 kB / 0.7312 GB, free: 2.797 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.705e-05/0.00661, allocations: 17.61 kB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-05/0.006623, allocations: 0 / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.31e-07/0.006624, allocations: 0.6562 kB / 0.7313 GB, free: 2.781 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.006638, allocations: 0 / 0.7313 GB, free: 2.781 MB / 0.698 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.0003213/0.00696, allocations: 228.7 kB / 0.7315 GB, free: 2.531 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.006995, allocations: 12.52 kB / 0.7315 GB, free: 2.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.007021, allocations: 5.5 kB / 0.7315 GB, free: 2.516 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.447e-05/0.007106, allocations: 113.6 kB / 0.7316 GB, free: 2.379 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.007124, allocations: 6.969 kB / 0.7316 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.007134, allocations: 384 / 0.7316 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.007273, allocations: 54.94 kB / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.007279, allocations: 192 / 0.7317 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.00729, allocations: 5.188 kB / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.007296, allocations: 384 / 0.7317 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.352e-05/0.007319, allocations: 8.812 kB / 0.7317 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001985/0.007518, allocations: 148.3 kB / 0.7318 GB, free: 2.141 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.00757, allocations: 32.17 kB / 0.7319 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.628e-05/0.007586, allocations: 8.922 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.007596, allocations: 1.75 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.007615, allocations: 30.56 kB / 0.7319 GB, free: 2.051 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.007616, allocations: 0 / 0.7319 GB, free: 2.051 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001123/0.007728, allocations: 46.12 kB / 0.7319 GB, free: 2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.007754, allocations: 60.44 kB / 0.732 GB, free: 1.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.214e-05/0.007807, allocations: 103.6 kB / 0.7321 GB, free: 1.816 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.007816, allocations: 25.7 kB / 0.7321 GB, free: 1.785 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.754e-05/0.007844, allocations: 80.73 kB / 0.7322 GB, free: 1.703 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/0.007862, allocations: 7.953 kB / 0.7322 GB, free: 1.695 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.00789, allocations: 14.83 kB / 0.7322 GB, free: 1.676 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.00797, allocations: 314.8 kB / 0.7325 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.467e-06/0.007979, allocations: 0 / 0.7325 GB, free: 1.359 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.09e-05/0.00799, allocations: 4.719 kB / 0.7325 GB, free: 1.355 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.008017, allocations: 18.23 kB / 0.7325 GB, free: 1.336 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.008019, allocations: 0.9375 kB / 0.7325 GB, free: 1.336 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.641e-05/0.008075, allocations: 41.64 kB / 0.7326 GB, free: 1.289 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.008091, allocations: 13.2 kB / 0.7326 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.008094, allocations: 0.8438 kB / 0.7326 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.008104, allocations: 0 / 0.7326 GB, free: 1.277 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.008164, allocations: 9.188 kB / 0.7326 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.008167, allocations: 3.984 kB / 0.7326 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.613e-05/0.008193, allocations: 8.641 kB / 0.7326 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.008197, allocations: 0.8438 kB / 0.7326 GB, free: 1.258 MB / 0.698 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.589e-05/0.008253, allocations: 109.8 kB / 0.7327 GB, free: 1.141 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.008272, allocations: 5.312 kB / 0.7327 GB, free: 1.137 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.008291, allocations: 3.312 kB / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.008292, allocations: 0 / 0.7327 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.008295, allocations: 5.453 kB / 0.7327 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.008299, allocations: 4 kB / 0.7327 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.008401, allocations: 71.39 kB / 0.7328 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.008402, allocations: 0 / 0.7328 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.008431, allocations: 4 kB / 0.7328 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-06/0.008438, allocations: 7.984 kB / 0.7328 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.008439, allocations: 1.25 kB / 0.7328 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-06/0.008443, allocations: 0.7656 kB / 0.7328 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.008444, allocations: 0 / 0.7328 GB, free: 1.023 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.008446, allocations: 3.938 kB / 0.7328 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.552e-05/0.008531, allocations: 136.6 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.547e-06/0.00854, allocations: 0 / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.547e-05/0.008585, allocations: 1.25 kB / 0.733 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.00862, allocations: 11.98 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.008623, allocations: 0.7656 kB / 0.733 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.465e-05/0.008637, allocations: 17.81 kB / 0.733 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.008637, allocations: 0 / 0.733 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001648/0.008802, allocations: 4 kB / 0.733 GB, free: 0.8359 MB / 0.698 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 8.951e-05/0.008892, allocations: 82.56 kB / 0.7331 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.94e-05/0.008951, allocations: 13.41 kB / 0.7331 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.008956, allocations: 0 / 0.7331 GB, free: 0.7305 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.657e-05/0.008982, allocations: 18.89 kB / 0.7331 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003184/0.01217, allocations: 37.69 kB / 0.7331 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.01256, allocations: 118.3 kB / 0.7332 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.01259, allocations: 59.34 kB / 0.7333 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.01262, allocations: 1.562 kB / 0.7333 GB, free: 464 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.01274, allocations: 56.75 kB / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of SimCode: time 7.61e-07/0.01274, allocations: 0 / 0.7334 GB, free: 408 kB / 0.698 GB Notification: Performance of Templates: time 0.002312/0.01505, allocations: 0.6504 MB / 0.734 GB, free: 15.77 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0105379382148385]