Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001389/0.001389, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001535/0.001535, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.543/1.543, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.747/2.747, allocations: 443.4 MB / 0.7304 GB, free: 14.02 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002867/0.002867, allocations: 63.89 kB / 1.059 GB, free: 492 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3926, allocations: 160.7 MB / 1.216 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002098/0.3947, allocations: 0.6246 MB / 1.217 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3957, allocations: 0.8273 MB / 1.218 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.3958, allocations: 4 kB / 1.218 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.263e-05/0.3958, allocations: 0 / 1.218 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.231e-05/0.3959, allocations: 11.88 kB / 1.218 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.396, allocations: 11.98 kB / 1.218 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.957e-05/0.3961, allocations: 23.92 kB / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.3962, allocations: 8 kB / 1.218 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.519e-05/0.3963, allocations: 11.98 kB / 1.218 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.05e-05/0.3964, allocations: 15.91 kB / 1.218 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.3964, allocations: 4 kB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-06/0.3964, allocations: 0 / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.3964, allocations: 4 kB / 1.218 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.3965, allocations: 11.94 kB / 1.218 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.554e-05/0.3966, allocations: 27.88 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3966, allocations: 4 kB / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3966, allocations: 0 / 1.218 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.3966, allocations: 4 kB / 1.218 GB, free: 13.84 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.0005753/0.3972, allocations: 343.3 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.3972, allocations: 8.031 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.855e-05/0.3972, allocations: 4.938 kB / 1.218 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.3974, allocations: 164.3 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.299e-05/0.3974, allocations: 4.359 kB / 1.218 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.3975, allocations: 8.375 kB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.3976, allocations: 54.23 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3976, allocations: 192 / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3977, allocations: 3.938 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3977, allocations: 0 / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.3978, allocations: 35.95 kB / 1.218 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.3982, allocations: 252.9 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.3984, allocations: 38.5 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.3985, allocations: 28.89 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.3985, allocations: 0 / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.3985, allocations: 34.56 kB / 1.219 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.3985, allocations: 3.938 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003848/0.3989, allocations: 89.58 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.418e-05/0.399, allocations: 55.41 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.3991, allocations: 105.8 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.3991, allocations: 25.7 kB / 1.219 GB, free: 12.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.3991, allocations: 84.14 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.3992, allocations: 7.953 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3992, allocations: 13.84 kB / 1.219 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3993, allocations: 310.8 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.272e-05/0.3994, allocations: 23.97 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.343e-05/0.3995, allocations: 15.98 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.3997, allocations: 44.88 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3997, allocations: 0 / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002023/0.3999, allocations: 77.47 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.3999, allocations: 9.875 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3999, allocations: 0 / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3999, allocations: 0 / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4, allocations: 11.98 kB / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4, allocations: 0 / 1.219 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/0.4001, allocations: 15.98 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4001, allocations: 0 / 1.219 GB, free: 11.78 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 9.246e-05/0.4002, allocations: 113.8 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.4002, allocations: 4 kB / 1.22 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.082e-05/0.4002, allocations: 3.125 kB / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4002, allocations: 0 / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4002, allocations: 0 / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.4002, allocations: 0 / 1.22 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/0.4004, allocations: 165.6 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4004, allocations: 4 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.989e-05/0.4005, allocations: 8 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.4005, allocations: 3.984 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4005, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.4005, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4005, allocations: 3.938 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002637/0.4008, allocations: 171.5 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.4008, allocations: 81.05 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.4008, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.029e-05/0.4009, allocations: 7.984 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.401, allocations: 8 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.401, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.82e-05/0.401, allocations: 83.27 kB / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.401, allocations: 0 / 1.22 GB, free: 11.04 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002306/0.4013, allocations: 7.938 kB / 1.22 GB, free: 11.04 MB / 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.0001369/0.4014, allocations: 99.28 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000234/0.4016, allocations: 47.89 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4016, allocations: 0 / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/0.4017, allocations: 15.98 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.402, allocations: 20.03 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.4024, allocations: 121.4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.4027, allocations: 0.6767 MB / 1.221 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.387e-05/0.4027, allocations: 3.984 kB / 1.221 GB, free: 9.992 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.4028, allocations: 11.44 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.4028, allocations: 0 / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.003224/0.406, allocations: 0.612 MB / 1.222 GB, free: 9.375 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.886806500144303]