Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.001376/0.001376, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001458/0.001458, allocations: 213.9 kB / 22.25 MB, free: 4.855 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.011/3.011, allocations: 476 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [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.002169/0.002169, allocations: 68.48 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3876, allocations: 170 MB / 1.283 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002248/0.3899, allocations: 0.6484 MB / 1.284 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.3916, allocations: 0.8588 MB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.3917, allocations: 4 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.652e-05/0.3917, allocations: 3.938 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.464e-05/0.3918, allocations: 3.938 kB / 1.284 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.3921, allocations: 35.89 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.3922, allocations: 31.98 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.3923, allocations: 11.98 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.3924, allocations: 27.86 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.3926, allocations: 23.91 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.3926, allocations: 4 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.933e-05/0.3926, allocations: 4 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.041e-05/0.3926, allocations: 15.92 kB / 1.285 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.956e-05/0.3927, allocations: 11.94 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.3929, allocations: 51.78 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3929, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3929, allocations: 0 / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.435e-06/0.3929, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000753/0.3936, allocations: 266.3 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.695e-05/0.3937, allocations: 12.02 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.3937, allocations: 8.891 kB / 1.285 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.3939, allocations: 110.5 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3939, allocations: 4.375 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.394, allocations: 8.312 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.3942, allocations: 66.2 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3943, allocations: 192 / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3943, allocations: 7.938 kB / 1.285 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.3943, allocations: 3.938 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.3946, allocations: 51.94 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.3952, allocations: 232.4 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.3955, allocations: 62.42 kB / 1.285 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.3956, allocations: 36.91 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.3957, allocations: 0 / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.3957, allocations: 30.56 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.3957, allocations: 0 / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0006912/0.3964, allocations: 109.6 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.3965, allocations: 59.34 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.3966, allocations: 105.8 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3966, allocations: 25.7 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.3967, allocations: 96.08 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.3967, allocations: 3.953 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-05/0.3968, allocations: 17.72 kB / 1.286 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002591/0.397, allocations: 318.8 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.3972, allocations: 19.98 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.3973, allocations: 23.97 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.3976, allocations: 56.81 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3976, allocations: 4 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003631/0.398, allocations: 85.73 kB / 1.286 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.659e-05/0.3981, allocations: 11.98 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.3981, allocations: 0 / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.3981, allocations: 4 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.3983, allocations: 16.31 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3983, allocations: 0 / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.658e-05/0.3984, allocations: 8 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.3984, allocations: 7.984 kB / 1.286 GB, free: 8.238 MB / 0.9825 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001274/0.3985, allocations: 109.8 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.3986, allocations: 7.953 kB / 1.287 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.364e-05/0.3986, allocations: 11.98 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3986, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3986, allocations: 0 / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3986, allocations: 3.938 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003115/0.3989, allocations: 125.2 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3989, allocations: 3.938 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.3991, allocations: 11.98 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.3991, allocations: 3.984 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3991, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3991, allocations: 0 / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3991, allocations: 3.938 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.3995, allocations: 179.5 kB / 1.287 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.3995, allocations: 7.891 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.3995, allocations: 4 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.3997, allocations: 7.984 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.557e-05/0.3998, allocations: 11.98 kB / 1.287 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.3998, allocations: 4 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.346e-05/0.3999, allocations: 83.28 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3999, allocations: 0 / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004716/0.4004, allocations: 8 kB / 1.287 GB, free: 7.602 MB / 0.9825 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 (reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001746/0.4005, allocations: 95.23 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.4009, allocations: 67.83 kB / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4009, allocations: 0 / 1.287 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.4011, allocations: 27.97 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.4016, allocations: 7.938 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.4022, allocations: 125.6 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.665e-05/0.4023, allocations: 67.34 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.64e-05/0.4023, allocations: 8 kB / 1.287 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.4024, allocations: 11.42 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of SimCode: time 3.6e-07/0.4024, allocations: 0 / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of Templates: time 0.005118/0.4075, allocations: 0.9642 MB / 1.288 GB, free: 6.195 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.647799491882324]