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.517/1.517, allocations: 249.3 MB / 261.8 MB, free: 5.961 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.0009362/0.0009363, allocations: 176.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008602/0.0008601, allocations: 104.3 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.227e-05/4.23e-05, allocations: 0 / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6839/0.8973, allocations: 131.6 MB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.8976, allocations: 73.52 kB / 1.02 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002737/0.9004, allocations: 0.9249 MB / 1.021 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.664e-06/0.9004, allocations: 8 kB / 1.021 GB, free: 2.277 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.9004, allocations: 0 / 1.021 GB, free: 2.277 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.0004159/0.9009, allocations: 344.9 kB / 1.022 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.9009, allocations: 8.031 kB / 1.022 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.9009, allocations: 11.89 kB / 1.022 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.9011, allocations: 163 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.9011, allocations: 4 kB / 1.022 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.9012, allocations: 11.61 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.9013, allocations: 52.25 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.9013, allocations: 3.984 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.9013, allocations: 4 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.9013, allocations: 0 / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.416e-05/0.9014, allocations: 31.11 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.9019, allocations: 279 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.902, allocations: 52.94 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.747e-05/0.902, allocations: 20.64 kB / 1.022 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.9021, allocations: 4 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.9021, allocations: 30.56 kB / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.9021, allocations: 0 / 1.022 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001982/0.9023, allocations: 60.42 kB / 1.022 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.9024, allocations: 67.33 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.084e-05/0.9024, allocations: 98.52 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.9025, allocations: 25.7 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.9025, allocations: 87.45 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.9026, allocations: 15.73 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.9026, allocations: 3.938 kB / 1.023 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.9027, allocations: 320.5 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.9027, allocations: 7.125 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.377e-05/0.9028, allocations: 15.44 kB / 1.023 GB, free: 488 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.948e-05/0.9028, allocations: 17.92 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.9028, allocations: 0 / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.9029, allocations: 52.69 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.903, allocations: 8 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.903, allocations: 0 / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.903, allocations: 0 / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.9031, allocations: 15.98 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.9032, allocations: 0 / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.616e-05/0.9032, allocations: 15.23 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.9033, allocations: 7.953 kB / 1.023 GB, free: 380 kB / 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 6.993e-05/0.9033, allocations: 104.9 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.726e-05/0.9034, allocations: 7.906 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.9034, allocations: 11.7 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9034, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9034, allocations: 0.875 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.9034, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.9036, allocations: 180 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.9036, allocations: 0 / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.9037, allocations: 19.42 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.9037, allocations: 0 / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.9038, allocations: 4.797 kB / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9038, allocations: 0 / 1.023 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.9038, allocations: 3.984 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.904, allocations: 157.6 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.579e-05/0.904, allocations: 84.95 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.9041, allocations: 7.984 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.788e-05/0.9042, allocations: 4.25 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.9042, allocations: 11.42 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.9043, allocations: 8 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.358e-05/0.9043, allocations: 86.7 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9043, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002116/0.9045, allocations: 8 kB / 1.024 GB, free: 15.62 MB / 0.6511 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.0001454/0.9047, allocations: 114.9 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.9048, allocations: 30.8 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.9048, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.9049, allocations: 27 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.9051, allocations: 3.953 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.9054, allocations: 84.02 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.9057, allocations: 0.6888 MB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.847e-05/0.9057, allocations: 3.984 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.9058, allocations: 11.44 kB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/0.9058, allocations: 0 / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of Templates: time 0.00275/0.9085, allocations: 0.7375 MB / 1.025 GB, free: 13.91 MB / 0.6511 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