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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009867/0.0009867, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 173 kB / 16.92 MB, free: 6.652 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.47/1.47, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.665/2.665, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003744, allocations: 8 kB / 0.8735 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6844, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0008945/0.6853, allocations: 401 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.6864, allocations: 0.8234 MB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.6864, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.061e-05/0.6865, allocations: 0 / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.383e-05/0.6866, allocations: 7.922 kB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.6867, allocations: 19.98 kB / 1.025 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.083e-05/0.6868, allocations: 47.84 kB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.6869, allocations: 12 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.953e-05/0.687, allocations: 19.97 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.6871, allocations: 19.86 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.6871, allocations: 4 kB / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.6871, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.314e-05/0.6872, allocations: 11.98 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.6872, allocations: 37.62 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.185e-05/0.6873, allocations: 27.92 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.6873, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6873, allocations: 3.938 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.6873, allocations: 4 kB / 1.025 GB, free: 14.44 MB / 0.7794 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.0004924/0.6878, allocations: 349.4 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.6879, allocations: 8.031 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.6879, allocations: 12.83 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.688, allocations: 168.3 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.6881, allocations: 4.375 kB / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.6881, allocations: 384 / 1.026 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.6883, allocations: 74.22 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.6883, allocations: 192 / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.6883, allocations: 3.938 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.6883, allocations: 4 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.6886, allocations: 67.94 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.689, allocations: 292.7 kB / 1.026 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.6893, allocations: 66.55 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.6894, allocations: 40.91 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.6894, allocations: 0 / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.6894, allocations: 30.56 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.6894, allocations: 3.938 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004488/0.6899, allocations: 121.6 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.6899, allocations: 55.34 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.71e-05/0.69, allocations: 113.8 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.6901, allocations: 29.7 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.6901, allocations: 88.05 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.6901, allocations: 15.83 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.6902, allocations: 9.719 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6903, allocations: 318.8 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.6904, allocations: 27.97 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.6905, allocations: 28.17 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.6907, allocations: 72.77 kB / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6907, allocations: 0 / 1.027 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002713/0.691, allocations: 105.5 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.6911, allocations: 4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.6911, allocations: 3.938 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.6911, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.6912, allocations: 19.98 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6912, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.561e-05/0.6913, allocations: 11.98 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.6913, allocations: 0 / 1.027 GB, free: 12.11 MB / 0.7794 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 9.007e-05/0.6914, allocations: 118.3 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.6915, allocations: 0 / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.6915, allocations: 11.83 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6915, allocations: 4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6915, allocations: 4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6915, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.6917, allocations: 173.6 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6917, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.6918, allocations: 19.97 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6918, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.6918, allocations: 0 / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.6918, allocations: 4 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.6918, allocations: 0 / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.6922, allocations: 195.3 kB / 1.028 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/0.6922, allocations: 81.11 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.6922, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.6923, allocations: 11.98 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.6924, allocations: 11.98 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.6924, allocations: 8.188 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.181e-05/0.6925, allocations: 87.28 kB / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6925, allocations: 0 / 1.028 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000222/0.6927, allocations: 4 kB / 1.028 GB, free: 11.29 MB / 0.7794 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.0001114/0.6928, allocations: 103.2 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.6931, allocations: 71.89 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6931, allocations: 0 / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.6932, allocations: 31.97 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.6935, allocations: 15.88 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.6939, allocations: 172.5 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.6942, allocations: 0.6809 MB / 1.029 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.6e-05/0.6942, allocations: 15.44 kB / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.6942, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of Templates: time 0.002301/0.6965, allocations: 0.7701 MB / 1.03 GB, free: 9.367 MB / 0.7794 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