Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.188/2.188, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009275/0.0009277, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 221.3 MB / 0.7915 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008881/0.0008881, allocations: 91.94 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.302e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3117, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.219/1.531, allocations: 149.8 MB / 1.365 GB, free: 4.273 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/1.531, allocations: 69.7 kB / 1.365 GB, free: 4.238 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003446/1.534, allocations: 0.9219 MB / 1.366 GB, free: 3.402 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.124e-06/1.534, allocations: 0 / 1.366 GB, free: 3.402 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.44e-05/1.535, allocations: 4 kB / 1.366 GB, free: 3.398 MB / 0.823 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.0004945/1.535, allocations: 338.8 kB / 1.366 GB, free: 3.027 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/1.535, allocations: 12.03 kB / 1.366 GB, free: 3.016 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/1.535, allocations: 8.516 kB / 1.366 GB, free: 3.008 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/1.535, allocations: 172.9 kB / 1.366 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/1.535, allocations: 3.25 kB / 1.366 GB, free: 2.801 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/1.535, allocations: 4 kB / 1.366 GB, free: 2.797 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/1.536, allocations: 52.5 kB / 1.367 GB, free: 2.746 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/1.536, allocations: 3.984 kB / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/1.536, allocations: 3.188 kB / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/1.536, allocations: 0 / 1.367 GB, free: 2.742 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.386e-05/1.536, allocations: 22.75 kB / 1.367 GB, free: 2.727 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005279/1.536, allocations: 293 kB / 1.367 GB, free: 2.41 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/1.536, allocations: 52.94 kB / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/1.537, allocations: 16.27 kB / 1.367 GB, free: 2.344 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/1.537, allocations: 0 / 1.367 GB, free: 2.344 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.537, allocations: 38 kB / 1.367 GB, free: 2.301 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/1.537, allocations: 0 / 1.367 GB, free: 2.301 MB / 0.823 GB Notification: Performance of matching and sorting (n=4): time 0.0002116/1.537, allocations: 60.38 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/1.537, allocations: 63.28 kB / 1.367 GB, free: 2.168 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/1.537, allocations: 100.6 kB / 1.367 GB, free: 2.066 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/1.537, allocations: 25.7 kB / 1.367 GB, free: 2.035 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/1.537, allocations: 87.27 kB / 1.367 GB, free: 1.949 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/1.537, allocations: 19.61 kB / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/1.537, allocations: 0 / 1.367 GB, free: 1.934 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.537, allocations: 310.8 kB / 1.368 GB, free: 1.621 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/1.537, allocations: 11.75 kB / 1.368 GB, free: 1.613 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/1.537, allocations: 14.56 kB / 1.368 GB, free: 1.605 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.526e-05/1.537, allocations: 11.48 kB / 1.368 GB, free: 1.598 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.537, allocations: 4 kB / 1.368 GB, free: 1.594 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001059/1.537, allocations: 60.81 kB / 1.368 GB, free: 1.535 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.538, allocations: 4 kB / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.538, allocations: 0 / 1.368 GB, free: 1.531 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/1.538, allocations: 7.938 kB / 1.368 GB, free: 1.523 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/1.538, allocations: 11.98 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.538, allocations: 4 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/1.538, allocations: 11.94 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/1.538, allocations: 8 kB / 1.368 GB, free: 1.488 MB / 0.823 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 (intToRea.u) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.836e-05/1.538, allocations: 104.8 kB / 1.368 GB, free: 1.383 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/1.538, allocations: 3.906 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/1.538, allocations: 15.27 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/1.538, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/1.538, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.538, allocations: 0 / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/1.538, allocations: 171.8 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.538, allocations: 0 / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.915e-05/1.538, allocations: 19.98 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/1.538, allocations: 0 / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/1.538, allocations: 15.86 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.538, allocations: 0 / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.538, allocations: 0 / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/1.539, allocations: 154 kB / 1.368 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/1.539, allocations: 81.02 kB / 1.368 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/1.539, allocations: 7.297 kB / 1.368 GB, free: 0.8633 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.903e-05/1.539, allocations: 12 kB / 1.368 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/1.539, allocations: 11.67 kB / 1.368 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/1.539, allocations: 0 / 1.368 GB, free: 0.8438 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.98e-05/1.539, allocations: 87.27 kB / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.2e-07/1.539, allocations: 0 / 1.368 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002005/1.539, allocations: 15.94 kB / 1.368 GB, free: 0.7461 MB / 0.823 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 (intToRea.u) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000151/1.539, allocations: 107.1 kB / 1.369 GB, free: 0.6328 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001187/1.539, allocations: 31.67 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.539, allocations: 0 / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.575e-05/1.539, allocations: 19.19 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/1.54, allocations: 7.953 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/1.54, allocations: 79.91 kB / 1.369 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002825/1.54, allocations: 0.6814 MB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.172e-05/1.54, allocations: 11.98 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/1.54, allocations: 15.38 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of SimCode: time 2.345e-06/1.54, allocations: 0 / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of Templates: time 0.002993/1.543, allocations: 0.7504 MB / 1.37 GB, free: 15.04 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches