Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007952/0.007953, allocations: 103.5 kB / 15.73 MB, free: 5.996 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.001655/0.001655, allocations: 187.5 kB / 16.67 MB, free: 5.934 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.626/2.626, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 65.72 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.354, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001895/0.356, allocations: 0.6538 MB / 1.089 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.357, allocations: 0.8354 MB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.196e-05/0.3571, allocations: 0 / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.443e-05/0.3571, allocations: 7.922 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.346e-05/0.3572, allocations: 7.938 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.3574, allocations: 16.06 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.3576, allocations: 51.84 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.3577, allocations: 8 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.3578, allocations: 19.89 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.3579, allocations: 31.84 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.3579, allocations: 4 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.538e-05/0.3579, allocations: 8 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.358, allocations: 4 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.721e-05/0.358, allocations: 31.84 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.3581, allocations: 39.81 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.3581, allocations: 0 / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.697e-06/0.3581, allocations: 3.984 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.3582, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 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.0005974/0.3588, allocations: 353.2 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3588, allocations: 8.031 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.3589, allocations: 8.938 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.359, allocations: 168.3 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.359, allocations: 4.375 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.3591, allocations: 384 / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.3593, allocations: 70.2 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3593, allocations: 192 / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3593, allocations: 7.938 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3593, allocations: 0 / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.3595, allocations: 51.95 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.36, allocations: 288.7 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.3602, allocations: 58.55 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/0.3603, allocations: 36.91 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.3604, allocations: 4 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.3604, allocations: 30.56 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.3604, allocations: 3.938 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004099/0.3608, allocations: 109.5 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.3608, allocations: 51.41 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.3609, allocations: 109.8 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.361, allocations: 29.7 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.361, allocations: 92.08 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.361, allocations: 7.812 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.3611, allocations: 21.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.3612, allocations: 310.8 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.549e-05/0.3613, allocations: 27.97 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.3614, allocations: 23.97 kB / 1.091 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/0.3616, allocations: 64.69 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3616, allocations: 0 / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002194/0.3618, allocations: 77.66 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3618, allocations: 4 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3618, allocations: 0 / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.3619, allocations: 4 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.362, allocations: 15.98 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.362, allocations: 7.969 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.185e-05/0.3621, allocations: 8.328 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.3621, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 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.602e-05/0.3622, allocations: 113.8 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.3622, allocations: 11.83 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.959e-05/0.3623, allocations: 19.83 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.3623, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3623, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3623, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.3625, allocations: 181.6 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3625, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.454e-05/0.3626, allocations: 15.98 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3626, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.3626, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3626, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3626, allocations: 0 / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.3629, allocations: 187.4 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.3629, allocations: 85.02 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3629, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.146e-05/0.363, allocations: 7.984 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.3631, allocations: 15.92 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.3631, allocations: 4.188 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.3632, allocations: 87.28 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3632, allocations: 0 / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002126/0.3634, allocations: 12 kB / 1.092 GB, free: 12.72 MB / 0.8575 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.0001177/0.3635, allocations: 99.23 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002609/0.3638, allocations: 51.95 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3638, allocations: 0 / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.3639, allocations: 39.91 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3642, allocations: 7.938 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.3646, allocations: 137.6 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3649, allocations: 0.6807 MB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.33e-05/0.365, allocations: 4 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.176e-05/0.365, allocations: 15.42 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of SimCode: time 2.8e-07/0.365, allocations: 4 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of Templates: time 0.003062/0.3681, allocations: 0.8862 MB / 1.094 GB, free: 10.75 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches