Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001469/0.001469, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001472/0.001472, allocations: 187 kB / 17.34 MB, free: 5.719 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.45/2.45, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.879/0.8804, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001828/0.8822, allocations: 0.6705 MB / 1.168 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009851/0.8833, allocations: 0.8414 MB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.8833, allocations: 4 kB / 1.169 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.853e-05/0.8833, allocations: 3.938 kB / 1.169 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.587e-05/0.8834, allocations: 7.922 kB / 1.169 GB, free: 2.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.8836, allocations: 15.98 kB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.8837, allocations: 47.91 kB / 1.169 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.8838, allocations: 15.98 kB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.761e-05/0.8839, allocations: 19.92 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.884, allocations: 23.91 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.884, allocations: 8 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.884, allocations: 4 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.884, allocations: 11.92 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.8841, allocations: 19.92 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.401e-05/0.8842, allocations: 43.81 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8842, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8842, allocations: 0 / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.8842, allocations: 4 kB / 1.169 GB, free: 2.109 MB / 0.8887 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.0005205/0.8847, allocations: 355.2 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.8848, allocations: 12.03 kB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.574e-05/0.8848, allocations: 4.844 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.8849, allocations: 172.4 kB / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.885, allocations: 384 / 1.169 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.885, allocations: 4.375 kB / 1.169 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.8852, allocations: 70.22 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.8852, allocations: 192 / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.8852, allocations: 7.938 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.8852, allocations: 0 / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002047/0.8854, allocations: 47.95 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.8859, allocations: 290.5 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.8861, allocations: 70.52 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.8862, allocations: 24.92 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.8862, allocations: 7.984 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.8863, allocations: 30.56 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.8863, allocations: 3.938 kB / 1.17 GB, free: 0.8711 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0003939/0.8867, allocations: 109.6 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.8867, allocations: 55.34 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.8868, allocations: 105.8 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.8868, allocations: 25.7 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.351e-05/0.8869, allocations: 84.14 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.8869, allocations: 15.75 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.887, allocations: 21.7 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8871, allocations: 314.8 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.8872, allocations: 23.97 kB / 1.171 GB, free: 80 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.8873, allocations: 23.92 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.8875, allocations: 64.84 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8875, allocations: 0 / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000232/0.8877, allocations: 85.89 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.8878, allocations: 4 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.8878, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.8878, allocations: 4 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.8879, allocations: 11.98 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.8879, allocations: 4 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.888, allocations: 15.89 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.888, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 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 7.913e-05/0.8881, allocations: 117.8 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.8881, allocations: 0 / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.8882, allocations: 15.83 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.8882, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8882, allocations: 4 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.8882, allocations: 0 / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.8884, allocations: 173.5 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8884, allocations: 0 / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.978e-05/0.8885, allocations: 15.97 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8885, allocations: 0 / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.8885, allocations: 8 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.8885, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8885, allocations: 0 / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002633/0.8888, allocations: 183.8 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/0.8889, allocations: 81.02 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.8889, allocations: 4 kB / 1.172 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.889, allocations: 8.031 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.752e-05/0.8891, allocations: 15.97 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.8891, allocations: 7.938 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.8891, allocations: 83.28 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.8891, allocations: 0 / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002208/0.8894, allocations: 8 kB / 1.172 GB, free: 15.05 MB / 0.9044 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.0001126/0.8895, allocations: 99.23 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.8897, allocations: 59.89 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8897, allocations: 0 / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.8899, allocations: 39.84 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.8902, allocations: 11.92 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.8905, allocations: 148.2 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.8908, allocations: 0.6846 MB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.329e-05/0.8908, allocations: 15.44 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of SimCode: time 2.81e-07/0.8908, allocations: 0 / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.002023/0.8929, allocations: 0.7798 MB / 1.173 GB, free: 13.15 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_IntegerToReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches