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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001614, allocations: 105 kB / 16.41 MB, free: 6.504 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.001978/0.001978, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.577/2.577, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 63.89 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8944/0.896, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002139/0.8982, allocations: 0.6597 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.8993, allocations: 0.8351 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.8993, allocations: 0 / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.133e-05/0.8994, allocations: 3.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.268e-05/0.8995, allocations: 3.938 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.8996, allocations: 23.97 kB / 1.21 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.645e-05/0.8998, allocations: 43.92 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.8999, allocations: 15.97 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.879e-05/0.9, allocations: 23.86 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.473e-05/0.9001, allocations: 23.92 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.9001, allocations: 4 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.9001, allocations: 4 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.9001, allocations: 11.92 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.9002, allocations: 23.92 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.9003, allocations: 47.8 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.9003, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9003, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.9003, allocations: 0 / 1.21 GB, free: 11.89 MB / 0.9356 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.0005445/0.9009, allocations: 355.2 kB / 1.21 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.9009, allocations: 8.031 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.901, allocations: 8.844 kB / 1.21 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.9011, allocations: 164.4 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.9011, allocations: 8.375 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.9012, allocations: 384 / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.9014, allocations: 74.14 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.9014, allocations: 192 / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.9014, allocations: 7.938 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.9014, allocations: 3.984 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.9017, allocations: 47.95 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004489/0.9021, allocations: 290.6 kB / 1.211 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.9023, allocations: 62.48 kB / 1.211 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.9025, allocations: 32.91 kB / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.9025, allocations: 0 / 1.211 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.9025, allocations: 34.56 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.9025, allocations: 0 / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0004206/0.9029, allocations: 109.6 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.903, allocations: 55.34 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.9031, allocations: 105.8 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.9031, allocations: 25.7 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.9032, allocations: 96.12 kB / 1.212 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.9032, allocations: 11.75 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-05/0.9032, allocations: 17.72 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.893e-05/0.9033, allocations: 314.8 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.9034, allocations: 19.98 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.367e-05/0.9035, allocations: 27.97 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.9037, allocations: 64.69 kB / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9037, allocations: 0 / 1.212 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002346/0.904, allocations: 85.86 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.904, allocations: 4 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.904, allocations: 48 / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.904, allocations: 3.984 kB / 1.212 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.9042, allocations: 19.98 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9042, allocations: 0 / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.393e-05/0.9043, allocations: 15.89 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.9043, allocations: 0 / 1.212 GB, free: 9.633 MB / 0.9356 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.83e-05/0.9044, allocations: 113.8 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.9044, allocations: 0 / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.9044, allocations: 7.906 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.9044, allocations: 4 kB / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.9045, allocations: 0 / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.9045, allocations: 0 / 1.212 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.9047, allocations: 181.6 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9047, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.374e-05/0.9048, allocations: 15.98 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9048, allocations: 256 / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.9048, allocations: 4 kB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.9048, allocations: 7.984 kB / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.9048, allocations: 0 / 1.212 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.9051, allocations: 187.4 kB / 1.213 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.9051, allocations: 89 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9052, allocations: 0 / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.521e-05/0.9053, allocations: 4 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.9053, allocations: 11.98 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-06/0.9053, allocations: 0 / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.9054, allocations: 87.27 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9054, allocations: 0 / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002295/0.9056, allocations: 8 kB / 1.213 GB, free: 8.82 MB / 0.9356 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.0001088/0.9057, allocations: 99.25 kB / 1.213 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.906, allocations: 59.88 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.906, allocations: 7.938 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.9061, allocations: 27.97 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.9064, allocations: 17.69 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/0.9068, allocations: 158.1 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002236/0.907, allocations: 0.6846 MB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.9071, allocations: 15.44 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.9071, allocations: 0 / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of Templates: time 0.002291/0.9094, allocations: 0.7948 MB / 1.215 GB, free: 6.906 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches