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.00851/0.00851, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00162/0.00162, allocations: 196 kB / 16.67 MB, free: 5.977 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.559/1.559, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.986/2.986, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4412, allocations: 157.4 MB / 1.208 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002575/0.4438, allocations: 0.6581 MB / 1.208 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.4451, allocations: 0.8273 MB / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.4452, allocations: 0 / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.878e-05/0.4453, allocations: 0 / 1.209 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.4454, allocations: 3.938 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.4456, allocations: 31.91 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.4457, allocations: 51.84 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.4459, allocations: 11.98 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.446, allocations: 12 kB / 1.209 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.4462, allocations: 35.83 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.4462, allocations: 4 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.407e-05/0.4463, allocations: 4 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.4463, allocations: 7.984 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.4463, allocations: 19.94 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.4465, allocations: 51.72 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.4465, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.865e-06/0.4465, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.4465, allocations: 0 / 1.209 GB, free: 7.961 MB / 0.9669 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.0008529/0.4473, allocations: 355.4 kB / 1.21 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.4474, allocations: 8.031 kB / 1.21 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.4475, allocations: 8.844 kB / 1.21 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.4476, allocations: 168.3 kB / 1.21 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.4477, allocations: 8.375 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.4477, allocations: 4.359 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.4479, allocations: 66.22 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4479, allocations: 192 / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4479, allocations: 3.938 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.4479, allocations: 0 / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.4482, allocations: 55.94 kB / 1.21 GB, free: 7.203 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.4487, allocations: 296.6 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.4489, allocations: 58.55 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.449, allocations: 36.91 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.449, allocations: 0 / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4491, allocations: 34.56 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.4491, allocations: 0 / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004281/0.4495, allocations: 109.6 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/0.4496, allocations: 51.41 kB / 1.211 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.993e-05/0.4497, allocations: 105.8 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.4497, allocations: 25.7 kB / 1.211 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.868e-05/0.4498, allocations: 104 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.4498, allocations: 3.906 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.956e-05/0.4498, allocations: 17.72 kB / 1.211 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.45, allocations: 314.8 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.983e-05/0.4501, allocations: 20.23 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.93e-05/0.4502, allocations: 27.97 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.4504, allocations: 64.75 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4504, allocations: 0 / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002299/0.4506, allocations: 89.48 kB / 1.211 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4506, allocations: 4 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4506, allocations: 0 / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.4507, allocations: 4 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.4508, allocations: 11.98 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4508, allocations: 0 / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.35e-05/0.4509, allocations: 8 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.4509, allocations: 7.984 kB / 1.211 GB, free: 5.703 MB / 0.9669 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.744e-05/0.451, allocations: 113.8 kB / 1.211 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.451, allocations: 3.938 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.006e-05/0.4511, allocations: 7.906 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4511, allocations: 4 kB / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4511, allocations: 336 / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4511, allocations: 0 / 1.211 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.4513, allocations: 177.6 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4513, allocations: 0 / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-05/0.4514, allocations: 19.92 kB / 1.212 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.4514, allocations: 3.984 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4514, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4514, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4514, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/0.4518, allocations: 187.3 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.4518, allocations: 85.05 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.4519, allocations: 7.984 kB / 1.212 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.424e-05/0.452, allocations: 4 kB / 1.212 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.4521, allocations: 11.98 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.4521, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.517e-05/0.4521, allocations: 83.27 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4521, allocations: 3.938 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002281/0.4524, allocations: 12 kB / 1.212 GB, free: 4.891 MB / 0.9669 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.0001552/0.4525, allocations: 103.2 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.4528, allocations: 55.94 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4528, allocations: 0 / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.453, allocations: 27.98 kB / 1.212 GB, free: 4.699 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.4532, allocations: 12.11 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004195/0.4537, allocations: 141.2 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.4541, allocations: 0.6845 MB / 1.213 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.7e-05/0.4541, allocations: 3.984 kB / 1.213 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.4542, allocations: 15.44 kB / 1.213 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of SimCode: time 9.92e-07/0.4542, allocations: 4 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of Templates: time 0.004207/0.4584, allocations: 0.9041 MB / 1.214 GB, free: 2.891 MB / 0.9669 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