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.532/1.532, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001136/0.001136, allocations: 183.3 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.00102/0.00102, allocations: 102.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 8.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2562, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1728/0.429, allocations: 131.7 MB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4294, allocations: 63.97 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002696/0.4321, allocations: 0.9461 MB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4321, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.4321, allocations: 0 / 1.03 GB, free: 11.09 MB / 0.6823 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.0004229/0.4325, allocations: 351.2 kB / 1.03 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.4326, allocations: 8.031 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.4326, allocations: 7.906 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.4328, allocations: 167 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.4328, allocations: 7.938 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.4328, allocations: 4 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002231/0.4331, allocations: 73.58 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4331, allocations: 0 / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.4331, allocations: 4 kB / 1.03 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4331, allocations: 4 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.4333, allocations: 59.95 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004407/0.4338, allocations: 288.7 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.434, allocations: 74.52 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.434, allocations: 4.031 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.434, allocations: 30.56 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.434, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.000407/0.4344, allocations: 121.8 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.4345, allocations: 51.41 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.819e-05/0.4346, allocations: 104.9 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.4346, allocations: 29.7 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.235e-05/0.4346, allocations: 92.08 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.4347, allocations: 11.81 kB / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.4347, allocations: 0 / 1.031 GB, free: 9.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.4348, allocations: 318.8 kB / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.951e-05/0.4349, allocations: 27.98 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.978e-05/0.435, allocations: 31.97 kB / 1.031 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.684e-05/0.4351, allocations: 27.98 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4351, allocations: 0 / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002311/0.4354, allocations: 97.64 kB / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4354, allocations: 7.938 kB / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4354, allocations: 0 / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4354, allocations: 0 / 1.032 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.4355, allocations: 16.23 kB / 1.032 GB, free: 8.898 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4356, allocations: 7.875 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.58e-05/0.4356, allocations: 19.89 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.4357, allocations: 0 / 1.032 GB, free: 8.871 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.545e-05/0.4358, allocations: 121.8 kB / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.4358, allocations: 0 / 1.032 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.4358, allocations: 11.89 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4358, allocations: 4 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4358, allocations: 0 / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.4358, allocations: 0 / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.436, allocations: 169.6 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.436, allocations: 0 / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.496e-05/0.4361, allocations: 19.98 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4361, allocations: 3.984 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.4361, allocations: 0 / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.4361, allocations: 4 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4362, allocations: 0 / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.4364, allocations: 199.3 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.771e-05/0.4365, allocations: 81.11 kB / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.4365, allocations: 0 / 1.032 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.4366, allocations: 11.98 kB / 1.032 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.4367, allocations: 7.984 kB / 1.032 GB, free: 8.152 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.4367, allocations: 4 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.4367, allocations: 83.28 kB / 1.032 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4368, allocations: 4 kB / 1.032 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000237/0.437, allocations: 19.92 kB / 1.032 GB, free: 8.043 MB / 0.6823 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 () * 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 (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.0001291/0.4371, allocations: 103.2 kB / 1.032 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.4374, allocations: 63.95 kB / 1.032 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4374, allocations: 3.938 kB / 1.032 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.4375, allocations: 35.91 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002083/0.4377, allocations: 15.89 kB / 1.033 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.4381, allocations: 144.5 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.4383, allocations: 0.6848 MB / 1.033 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.546e-05/0.4384, allocations: 4 kB / 1.033 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.4384, allocations: 11.44 kB / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.4384, allocations: 0 / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of Templates: time 0.002594/0.441, allocations: 0.7435 MB / 1.034 GB, free: 6.184 MB / 0.6823 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