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.001599/0.001599, allocations: 84.83 kB / 19.76 MB, free: 2.023 MB / 14.72 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.001753/0.001753, allocations: 157 kB / 23.01 MB, free: 4.961 MB / 14.72 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.47/1.47, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.872/2.872, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 63.91 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.159, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001805/1.161, allocations: 0.6195 MB / 1.154 GB, free: 32.93 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008665/1.161, allocations: 0.8412 MB / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/1.161, allocations: 0 / 1.155 GB, free: 32.3 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/1.161, allocations: 7.938 kB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/1.162, allocations: 0 / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/1.162, allocations: 20.52 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.085e-05/1.162, allocations: 22.05 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/1.162, allocations: 14.58 kB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/1.162, allocations: 18.47 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 5.147e-05/1.162, allocations: 9.016 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/1.162, allocations: 2.781 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/1.162, allocations: 6.625 kB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/1.162, allocations: 4 kB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/1.162, allocations: 9.406 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.414e-05/1.162, allocations: 34.61 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.162, allocations: 0 / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.074e-06/1.162, allocations: 0 / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.869e-06/1.162, allocations: 0 / 1.155 GB, free: 32.22 MB / 1.076 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.0004084/1.163, allocations: 258.5 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/1.163, allocations: 10.94 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/1.163, allocations: 4.938 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.208e-05/1.163, allocations: 108.1 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/1.163, allocations: 2.969 kB / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/1.163, allocations: 384 / 1.156 GB, free: 31.83 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/1.163, allocations: 56.94 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/1.163, allocations: 192 / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-06/1.163, allocations: 3.938 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/1.163, allocations: 0 / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/1.163, allocations: 43.41 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/1.163, allocations: 195.1 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/1.164, allocations: 42.91 kB / 1.156 GB, free: 31.54 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/1.164, allocations: 28.53 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/1.164, allocations: 3.938 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/1.164, allocations: 37.28 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.164, allocations: 0 / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003519/1.164, allocations: 84.09 kB / 1.156 GB, free: 31.43 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/1.164, allocations: 54.64 kB / 1.156 GB, free: 31.37 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.845e-05/1.164, allocations: 103.7 kB / 1.156 GB, free: 31.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/1.164, allocations: 25.7 kB / 1.156 GB, free: 31.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.55e-05/1.164, allocations: 87.36 kB / 1.157 GB, free: 31.15 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/1.164, allocations: 6.828 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/1.164, allocations: 16.16 kB / 1.157 GB, free: 31.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/1.164, allocations: 310.8 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/1.164, allocations: 20.69 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/1.164, allocations: 17.47 kB / 1.157 GB, free: 30.81 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/1.165, allocations: 46.72 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.165, allocations: 0 / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001941/1.165, allocations: 70.92 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.165, allocations: 5.938 kB / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.165, allocations: 0 / 1.157 GB, free: 30.75 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/1.165, allocations: 7.172 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/1.165, allocations: 8.812 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/1.165, allocations: 7 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/1.165, allocations: 2.625 kB / 1.157 GB, free: 30.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.165, allocations: 3.047 kB / 1.157 GB, free: 30.74 MB / 1.076 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.036e-05/1.165, allocations: 112.9 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/1.165, allocations: 3.938 kB / 1.157 GB, free: 30.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/1.165, allocations: 6.312 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/1.165, allocations: 4.125 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.165, allocations: 0 / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/1.165, allocations: 3.984 kB / 1.157 GB, free: 30.6 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/1.165, allocations: 114 kB / 1.157 GB, free: 30.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/1.165, allocations: 0 / 1.157 GB, free: 30.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/1.165, allocations: 8.828 kB / 1.157 GB, free: 30.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/1.165, allocations: 3.938 kB / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/1.165, allocations: 5.797 kB / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.165, allocations: 0 / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.165, allocations: 3.938 kB / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/1.166, allocations: 164.5 kB / 1.157 GB, free: 30.32 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-06/1.166, allocations: 10.56 kB / 1.157 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/1.166, allocations: 0 / 1.157 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-05/1.166, allocations: 8.234 kB / 1.157 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/1.166, allocations: 9.781 kB / 1.157 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/1.166, allocations: 0 / 1.157 GB, free: 30.31 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.143e-05/1.166, allocations: 77.75 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.166, allocations: 3.938 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002239/1.166, allocations: 8.156 kB / 1.158 GB, free: 30.23 MB / 1.076 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.0001204/1.166, allocations: 93.41 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002613/1.166, allocations: 46.38 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/1.166, allocations: 0 / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/1.167, allocations: 23.3 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/1.167, allocations: 3.031 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/1.167, allocations: 106.8 kB / 1.158 GB, free: 30.02 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.596e-05/1.167, allocations: 68.16 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.539e-05/1.167, allocations: 7.062 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/1.167, allocations: 8.5 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/1.167, allocations: 2.812 kB / 1.158 GB, free: 29.93 MB / 1.076 GB Notification: Performance of Templates: time 0.003257/1.171, allocations: 0.64 MB / 1.159 GB, free: 29.83 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.35741534200497]