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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001042/0.001042, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008698/0.008698, allocations: 169.9 kB / 16.27 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.859/2.859, allocations: 443.3 MB / 0.7175 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004325, allocations: 9.25 kB / 0.8796 GB, free: 42.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3974, allocations: 155.2 MB / 1.031 GB, free: 4.523 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.0009211/0.3983, allocations: 395.8 kB / 1.031 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3994, allocations: 0.8234 MB / 1.032 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.3994, allocations: 4 kB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.3995, allocations: 3.938 kB / 1.032 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.3995, allocations: 3.984 kB / 1.032 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.3997, allocations: 19.98 kB / 1.032 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.707e-05/0.3998, allocations: 43.84 kB / 1.032 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3999, allocations: 19.98 kB / 1.032 GB, free: 3.211 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.839e-05/0.4, allocations: 8 kB / 1.032 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.4001, allocations: 27.84 kB / 1.032 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.4002, allocations: 7.938 kB / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.4002, allocations: 0 / 1.032 GB, free: 3.168 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.4002, allocations: 3.984 kB / 1.032 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.4003, allocations: 41.62 kB / 1.032 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.105e-05/0.4004, allocations: 43.8 kB / 1.033 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4004, allocations: 4 kB / 1.033 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.414e-06/0.4004, allocations: 0 / 1.033 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.4004, allocations: 0 / 1.033 GB, free: 3.07 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.0005334/0.4009, allocations: 343.7 kB / 1.033 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.401, allocations: 8.031 kB / 1.033 GB, free: 2.676 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.401, allocations: 12.84 kB / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.4012, allocations: 168.4 kB / 1.033 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.4012, allocations: 8.375 kB / 1.033 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.4012, allocations: 384 / 1.033 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.4014, allocations: 70.22 kB / 1.033 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4014, allocations: 192 / 1.033 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.4015, allocations: 7.938 kB / 1.033 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.4015, allocations: 7.938 kB / 1.033 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.4017, allocations: 59.95 kB / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.4021, allocations: 285.2 kB / 1.033 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.4024, allocations: 70.53 kB / 1.034 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.4025, allocations: 44.84 kB / 1.034 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.4025, allocations: 0 / 1.034 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.4025, allocations: 30.56 kB / 1.034 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4025, allocations: 8 kB / 1.034 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000448/0.403, allocations: 117.6 kB / 1.034 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.403, allocations: 55.41 kB / 1.034 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.4032, allocations: 109.8 kB / 1.034 GB, free: 1.5 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.4032, allocations: 25.7 kB / 1.034 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/0.4032, allocations: 92.05 kB / 1.034 GB, free: 1.375 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.4033, allocations: 7.844 kB / 1.034 GB, free: 1.367 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.4033, allocations: 13.7 kB / 1.034 GB, free: 1.348 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4034, allocations: 318.8 kB / 1.034 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.4036, allocations: 35.91 kB / 1.034 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.69e-05/0.4037, allocations: 27.98 kB / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.4039, allocations: 64.75 kB / 1.034 GB, free: 0.8984 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4039, allocations: 3.938 kB / 1.034 GB, free: 0.8945 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002596/0.4042, allocations: 101.5 kB / 1.035 GB, free: 0.7891 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.4042, allocations: 4 kB / 1.035 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4042, allocations: 0 / 1.035 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4042, allocations: 0 / 1.035 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.4044, allocations: 19.98 kB / 1.035 GB, free: 0.7656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.4044, allocations: 3.938 kB / 1.035 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.4044, allocations: 11.98 kB / 1.035 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.4045, allocations: 0 / 1.035 GB, free: 0.75 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.377e-05/0.4046, allocations: 127.2 kB / 1.035 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.4046, allocations: 336 / 1.035 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.4046, allocations: 11.91 kB / 1.035 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.4046, allocations: 7.984 kB / 1.035 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4047, allocations: 3.984 kB / 1.035 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4047, allocations: 0 / 1.035 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.4049, allocations: 177.6 kB / 1.035 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4049, allocations: 0 / 1.035 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.344e-05/0.405, allocations: 15.98 kB / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.405, allocations: 0 / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.405, allocations: 3.984 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.405, allocations: 4 kB / 1.035 GB, free: 352 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.405, allocations: 4 kB / 1.035 GB, free: 348 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.4053, allocations: 195.3 kB / 1.035 GB, free: 136 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.4054, allocations: 81.11 kB / 1.035 GB, free: 36 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4054, allocations: 4 kB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.4055, allocations: 11.98 kB / 1.035 GB, free: 20 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.4056, allocations: 7.984 kB / 1.035 GB, free: 12 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.4056, allocations: 4 kB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.4056, allocations: 83.28 kB / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4056, allocations: 0 / 1.035 GB, free: 15.93 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002168/0.4059, allocations: 8 kB / 1.035 GB, free: 15.92 MB / 0.795 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.0001454/0.406, allocations: 103.2 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002696/0.4063, allocations: 63.95 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4063, allocations: 0 / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.4064, allocations: 43.91 kB / 1.035 GB, free: 15.7 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.4067, allocations: 11.88 kB / 1.035 GB, free: 15.69 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003511/0.4071, allocations: 148.4 kB / 1.036 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.4074, allocations: 0.6809 MB / 1.036 GB, free: 14.81 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.718e-05/0.4075, allocations: 8 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.4075, allocations: 11.44 kB / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of SimCode: time 6.21e-07/0.4075, allocations: 0 / 1.036 GB, free: 14.79 MB / 0.795 GB Notification: Performance of Templates: time 0.003352/0.4109, allocations: 0.7543 MB / 1.037 GB, free: 14.04 MB / 0.795 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/jenkins/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