Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 249.5 MB / 257 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 176.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009561/0.0009565, allocations: 82.58 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.695e-05/1.698e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2394, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7934/1.033, allocations: 131.8 MB / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.033, allocations: 74.95 kB / 1.014 GB, free: 5.906 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002789/1.036, allocations: 0.9242 MB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.232e-06/1.036, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.472e-06/1.036, allocations: 0 / 1.015 GB, free: 5.078 MB / 0.6355 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.0004368/1.036, allocations: 348.2 kB / 1.015 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.037, allocations: 12.03 kB / 1.015 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/1.037, allocations: 3.906 kB / 1.015 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/1.037, allocations: 174.5 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/1.037, allocations: 0.75 kB / 1.015 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/1.037, allocations: 4 kB / 1.015 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.076e-05/1.037, allocations: 26.72 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/1.037, allocations: 52.73 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.037, allocations: 0 / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/1.037, allocations: 0 / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.037, allocations: 0 / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/1.038, allocations: 259.1 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/1.038, allocations: 52.19 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.679e-05/1.038, allocations: 15.64 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.747e-05/1.038, allocations: 0 / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/1.038, allocations: 42.62 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/1.038, allocations: 4 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002082/1.038, allocations: 62.91 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/1.038, allocations: 51.41 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/1.038, allocations: 92.06 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/1.038, allocations: 29.7 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.999e-05/1.038, allocations: 87.44 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/1.038, allocations: 14.88 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-06/1.038, allocations: 0 / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.038, allocations: 318.8 kB / 1.017 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.476e-05/1.038, allocations: 11.25 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/1.038, allocations: 17.36 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.91e-05/1.038, allocations: 7.125 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.038, allocations: 0 / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001028/1.039, allocations: 59 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.039, allocations: 7.938 kB / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.039, allocations: 256 / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/1.039, allocations: 0 / 1.017 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/1.039, allocations: 19.98 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/1.039, allocations: 7.984 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/1.039, allocations: 8 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/1.039, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 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.689e-05/1.039, allocations: 104.9 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/1.039, allocations: 11.89 kB / 1.017 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/1.039, allocations: 7.656 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/1.039, allocations: 0 / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.039, allocations: 4 kB / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.039, allocations: 0 / 1.017 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/1.039, allocations: 153.2 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.039, allocations: 3.938 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-05/1.039, allocations: 15.98 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.039, allocations: 0 / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/1.039, allocations: 7.984 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/1.039, allocations: 0 / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.039, allocations: 0 / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001458/1.04, allocations: 157.9 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.526e-05/1.04, allocations: 88.97 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/1.04, allocations: 3.984 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/1.04, allocations: 8 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/1.04, allocations: 11.3 kB / 1.017 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/1.04, allocations: 4 kB / 1.017 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.746e-05/1.04, allocations: 86.7 kB / 1.017 GB, free: 2.504 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.04, allocations: 4 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002074/1.04, allocations: 8 kB / 1.017 GB, free: 2.492 MB / 0.6355 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.0001387/1.04, allocations: 107.2 kB / 1.017 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.884e-05/1.04, allocations: 30.86 kB / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.04, allocations: 0 / 1.017 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.673e-05/1.04, allocations: 18.62 kB / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/1.041, allocations: 1.875 kB / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000247/1.041, allocations: 88.62 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/1.041, allocations: 0.6846 MB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.172e-05/1.041, allocations: 3.984 kB / 1.018 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/1.041, allocations: 11.44 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of SimCode: time 2.51e-07/1.041, allocations: 3.938 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of Templates: time 0.002988/1.044, allocations: 0.7016 MB / 1.019 GB, free: 0.832 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches