Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01377/0.01377, allocations: 103.8 kB / 15.74 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002523/0.002523, allocations: 195.5 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.843/2.843, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 67.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3902, allocations: 151.6 MB / 1.167 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001973/0.3923, allocations: 0.6522 MB / 1.167 GB, free: 6.152 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.3933, allocations: 0.8471 MB / 1.168 GB, free: 5.293 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.3933, allocations: 4 kB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.704e-05/0.3934, allocations: 3.938 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.3934, allocations: 3.938 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.3936, allocations: 23.91 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.661e-05/0.3936, allocations: 51.89 kB / 1.168 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.658e-05/0.3938, allocations: 8 kB / 1.168 GB, free: 5.199 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.859e-05/0.3938, allocations: 19.92 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.967e-05/0.3939, allocations: 27.91 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3939, allocations: 8 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.3939, allocations: 4 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.3939, allocations: 11.92 kB / 1.168 GB, free: 5.129 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.394, allocations: 15.92 kB / 1.168 GB, free: 5.113 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.3941, allocations: 43.81 kB / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3941, allocations: 0 / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3941, allocations: 0 / 1.168 GB, free: 5.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3941, allocations: 0 / 1.168 GB, free: 5.07 MB / 0.92 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.0004821/0.3946, allocations: 359.3 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3946, allocations: 15.97 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.3947, allocations: 4.938 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.3948, allocations: 172.3 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.3948, allocations: 8.375 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.3948, allocations: 384 / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.395, allocations: 66.22 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.395, allocations: 192 / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3951, allocations: 7.922 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-06/0.3951, allocations: 0 / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.3953, allocations: 51.95 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003977/0.3957, allocations: 288.7 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.3959, allocations: 62.53 kB / 1.169 GB, free: 3.902 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.396, allocations: 32.92 kB / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.396, allocations: 0 / 1.169 GB, free: 3.867 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.396, allocations: 42.55 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.396, allocations: 0 / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.000389/0.3964, allocations: 109.5 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.3965, allocations: 51.41 kB / 1.169 GB, free: 3.641 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.467e-05/0.3966, allocations: 113.8 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.3966, allocations: 25.7 kB / 1.17 GB, free: 3.488 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.3966, allocations: 84.14 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.3967, allocations: 15.97 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.3967, allocations: 17.7 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3968, allocations: 314.8 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.3969, allocations: 23.97 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/0.397, allocations: 27.98 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.3972, allocations: 56.69 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.3972, allocations: 0 / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000235/0.3975, allocations: 89.58 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3975, allocations: 4 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-06/0.3975, allocations: 0 / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3975, allocations: 4 kB / 1.17 GB, free: 2.836 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.3976, allocations: 15.98 kB / 1.17 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3977, allocations: 3.938 kB / 1.17 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.746e-05/0.3977, allocations: 11.94 kB / 1.17 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.3977, allocations: 0 / 1.17 GB, free: 2.805 MB / 0.92 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 8.456e-05/0.3978, allocations: 117.8 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.3979, allocations: 0 / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.3979, allocations: 11.89 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.3979, allocations: 8 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3979, allocations: 0 / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3979, allocations: 0 / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.3981, allocations: 169.6 kB / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3981, allocations: 0 / 1.171 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.195e-05/0.3982, allocations: 19.92 kB / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3982, allocations: 336 / 1.171 GB, free: 2.418 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.3982, allocations: 3.984 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3982, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3983, allocations: 0 / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.3985, allocations: 191.4 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.991e-05/0.3986, allocations: 85.05 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.3986, allocations: 0 / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.578e-05/0.3987, allocations: 12.23 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.3988, allocations: 7.984 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.3988, allocations: 4 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.366e-05/0.3988, allocations: 87.28 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3988, allocations: 0 / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002111/0.3991, allocations: 8 kB / 1.171 GB, free: 1.992 MB / 0.92 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.0001104/0.3992, allocations: 107.2 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.3994, allocations: 51.95 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3994, allocations: 0 / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001096/0.3996, allocations: 31.97 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.3999, allocations: 13.81 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.4002, allocations: 129.3 kB / 1.171 GB, free: 1.633 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.4004, allocations: 0.6807 MB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 4.1e-05/0.4005, allocations: 8 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.4005, allocations: 19.36 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.4005, allocations: 0 / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of Templates: time 0.002809/0.4033, allocations: 0.8773 MB / 1.173 GB, free: 24 kB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches