Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001967/0.001967, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.003151/0.003151, allocations: 220.3 kB / 23.01 MB, free: 4.609 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.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 3.126/3.126, allocations: 0.49 GB / 0.7958 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 177] 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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_12_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_12_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.002015/0.002015, allocations: 74.45 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.364, allocations: 176.1 MB / 1.327 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002301/0.3663, allocations: 0.6727 MB / 1.328 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.3675, allocations: 0.8709 MB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.499e-05/0.3676, allocations: 4 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.058e-05/0.3676, allocations: 3.938 kB / 1.329 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.073e-05/0.3677, allocations: 3.984 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.3679, allocations: 23.86 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.368, allocations: 51.91 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3682, allocations: 11.98 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.3682, allocations: 15.92 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.609e-05/0.3683, allocations: 23.92 kB / 1.329 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.3683, allocations: 4 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.367e-05/0.3683, allocations: 4 kB / 1.329 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.3684, allocations: 11.98 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.957e-05/0.3684, allocations: 19.86 kB / 1.329 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.3685, allocations: 47.8 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.3685, allocations: 0 / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3685, allocations: 4 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3686, allocations: 0 / 1.329 GB, free: 15.73 MB / 1.029 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.0005582/0.3691, allocations: 274.3 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.3692, allocations: 12.03 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.695e-05/0.3692, allocations: 4.891 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3693, allocations: 110.5 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.3694, allocations: 4.375 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.3694, allocations: 4.375 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.3696, allocations: 70.2 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3696, allocations: 4.188 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.3696, allocations: 3.938 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3696, allocations: 0 / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.3698, allocations: 51.94 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.3703, allocations: 263.7 kB / 1.33 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.3705, allocations: 62.58 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3706, allocations: 32.81 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3706, allocations: 0 / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.3707, allocations: 30.56 kB / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.3707, allocations: 0 / 1.33 GB, free: 14.69 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004129/0.3711, allocations: 113.6 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.3711, allocations: 51.41 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.3712, allocations: 113.7 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3712, allocations: 25.7 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.3713, allocations: 88.14 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.3713, allocations: 11.89 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.199e-05/0.3714, allocations: 17.72 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3716, allocations: 326.8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.814e-05/0.3717, allocations: 19.98 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.625e-05/0.3718, allocations: 24.22 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.372, allocations: 56.69 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.372, allocations: 4 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002341/0.3722, allocations: 85.66 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3722, allocations: 8 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3722, allocations: 3.984 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.3722, allocations: 4.312 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.3724, allocations: 11.98 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3724, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.3724, allocations: 4 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.3724, allocations: 0 / 1.331 GB, free: 13.68 MB / 1.029 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.0001162/0.3726, allocations: 126.3 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.3726, allocations: 7.938 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.3726, allocations: 8 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.3726, allocations: 0 / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3726, allocations: 0 / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3726, allocations: 3.938 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.3728, allocations: 160.7 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3728, allocations: 0 / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.3729, allocations: 11.98 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3729, allocations: 7.938 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.3729, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3729, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3729, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3732, allocations: 183.4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/0.3732, allocations: 3.953 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3733, allocations: 0 / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.291e-05/0.3733, allocations: 11.98 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.997e-05/0.3734, allocations: 11.98 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.3734, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.617e-05/0.3735, allocations: 91.27 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3735, allocations: 3.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002136/0.3737, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 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.0001118/0.3738, allocations: 99.25 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.3741, allocations: 59.94 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3741, allocations: 3.938 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3742, allocations: 23.98 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3745, allocations: 9.641 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003806/0.3748, allocations: 155.3 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.3752, allocations: 0.6846 MB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.3752, allocations: 11.42 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3752, allocations: 4 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of Templates: time 0.002385/0.3776, allocations: 0.7963 MB / 1.333 GB, free: 11.08 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.935515114018926]