Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008228/0.0008228, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001195/0.002017, allocations: 440 kB / 10.41 MB, free: 284 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.0007075/0.0007075, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009682/0.001676, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.002/1.002, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08397/1.086, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.419/2.419, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2297/2.649, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.306e-05, allocations: 10.25 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001076/0.001089, allocations: 0.6743 MB / 0.8196 GB, free: 1.828 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0006597/0.001749, allocations: 0.8624 MB / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.204e-05/0.001771, allocations: 0 / 0.8204 GB, free: 0.9531 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.001789, allocations: 4 kB / 0.8204 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.659e-05/0.001815, allocations: 11.92 kB / 0.8204 GB, free: 0.9375 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 5.432e-05/0.00187, allocations: 11.94 kB / 0.8204 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 6.037e-05/0.00193, allocations: 27.91 kB / 0.8205 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.226e-05/0.001992, allocations: 8 kB / 0.8205 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.002063, allocations: 19.92 kB / 0.8205 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.002109, allocations: 11.98 kB / 0.8205 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.00213, allocations: 4 kB / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-06/0.002137, allocations: 0 / 0.8205 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.002151, allocations: 7.938 kB / 0.8205 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.392e-05/0.002165, allocations: 4 kB / 0.8205 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.103e-05/0.002236, allocations: 15.92 kB / 0.8205 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.002247, allocations: 0 / 0.8205 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.12e-07/0.002248, allocations: 0 / 0.8205 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.002259, allocations: 4 kB / 0.8205 GB, free: 0.8242 MB / 0.7917 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.0003525/0.002611, allocations: 240.6 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.002641, allocations: 8.031 kB / 0.8208 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.002668, allocations: 4.938 kB / 0.8208 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.266e-05/0.002741, allocations: 109.7 kB / 0.8209 GB, free: 428 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.002758, allocations: 4.375 kB / 0.8209 GB, free: 424 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.002768, allocations: 4.359 kB / 0.8209 GB, free: 420 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.774e-05/0.002866, allocations: 58.94 kB / 0.8209 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-06/0.002871, allocations: 192 / 0.8209 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.002877, allocations: 384 / 0.8209 GB, free: 352 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.002881, allocations: 8.312 kB / 0.821 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.08e-05/0.002902, allocations: 7.938 kB / 0.821 GB, free: 336 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001854/0.003088, allocations: 148.3 kB / 0.8211 GB, free: 172 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.003129, allocations: 22.61 kB / 0.8211 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.003145, allocations: 12.92 kB / 0.8211 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.003155, allocations: 0 / 0.8211 GB, free: 124 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.003173, allocations: 34.5 kB / 0.8212 GB, free: 80 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.003174, allocations: 0 / 0.8212 GB, free: 80 kB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 9.808e-05/0.003272, allocations: 41.81 kB / 0.8212 GB, free: 32 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.003308, allocations: 59.34 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.12e-05/0.00336, allocations: 98.72 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.003369, allocations: 29.64 kB / 0.8214 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.018e-05/0.003399, allocations: 88.12 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.003416, allocations: 7.938 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-05/0.003439, allocations: 17.72 kB / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.003509, allocations: 310.8 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.065e-06/0.003517, allocations: 0 / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-06/0.003526, allocations: 4 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.444e-05/0.00355, allocations: 20.84 kB / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.003552, allocations: 0 / 0.8218 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.91e-05/0.003591, allocations: 37.69 kB / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.003601, allocations: 8 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.003605, allocations: 0 / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.637e-06/0.003613, allocations: 0 / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.003677, allocations: 7.938 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.00368, allocations: 0 / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.003695, allocations: 7.984 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-06/0.003698, allocations: 0 / 0.8219 GB, free: 15.29 MB / 0.8073 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 4.666e-05/0.003745, allocations: 113.9 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.003756, allocations: 3.938 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.727e-05/0.003773, allocations: 7.312 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.003775, allocations: 0 / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.003779, allocations: 11.94 kB / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.003781, allocations: 0 / 0.822 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.421e-05/0.003856, allocations: 69.88 kB / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003856, allocations: 0 / 0.8221 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.018e-05/0.003876, allocations: 7.984 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.003883, allocations: 8 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.003884, allocations: 4 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-06/0.003887, allocations: 0 / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.003888, allocations: 0 / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.00389, allocations: 3.938 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.709e-05/0.003957, allocations: 131.5 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.153e-06/0.003964, allocations: 0 / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.904e-05/0.003993, allocations: 4 kB / 0.8222 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.004028, allocations: 12.11 kB / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.004029, allocations: 0 / 0.8222 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.206e-05/0.004041, allocations: 20.72 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004042, allocations: 4.031 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001065/0.004148, allocations: 4 kB / 0.8223 GB, free: 14.85 MB / 0.8073 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 6.795e-05/0.004216, allocations: 84.41 kB / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.598e-05/0.004272, allocations: 12.86 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.748e-06/0.004276, allocations: 0 / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.004299, allocations: 20.83 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.004436, allocations: 31.27 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.004747, allocations: 120.8 kB / 0.8225 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.945e-05/0.004776, allocations: 59.34 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.815e-05/0.004794, allocations: 4 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.288e-05/0.004837, allocations: 51.38 kB / 0.8226 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.004838, allocations: 0 / 0.8226 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of Templates: time 0.001866/0.006704, allocations: 0.6613 MB / 0.8233 GB, free: 13.74 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger/Buildings_latest_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: 4.996928956359625]