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.001251/0.001251, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001667/0.001667, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.995/2.995, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 8.938 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4042, allocations: 159.6 MB / 1.058 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001042/0.4053, allocations: 375.3 kB / 1.058 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.4063, allocations: 0.8313 MB / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.764e-05/0.4064, allocations: 0 / 1.059 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.4064, allocations: 7.922 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.767e-05/0.4065, allocations: 0 / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.4067, allocations: 23.92 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.495e-05/0.4068, allocations: 35.92 kB / 1.059 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.4069, allocations: 11.98 kB / 1.059 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.912e-05/0.407, allocations: 19.91 kB / 1.059 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.129e-05/0.4071, allocations: 19.92 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.4071, allocations: 4 kB / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.166e-05/0.4071, allocations: 0 / 1.059 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.4071, allocations: 11.98 kB / 1.059 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.923e-05/0.4072, allocations: 25.7 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.213e-05/0.4072, allocations: 31.92 kB / 1.059 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4073, allocations: 0 / 1.059 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4073, allocations: 0 / 1.059 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.4073, allocations: 0 / 1.059 GB, free: 3.922 MB / 0.8106 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.000543/0.4078, allocations: 355.5 kB / 1.06 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.4079, allocations: 8.031 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.4079, allocations: 7.906 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.4081, allocations: 163 kB / 1.06 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.4081, allocations: 4 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.4081, allocations: 3.953 kB / 1.06 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.4083, allocations: 77.66 kB / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.4083, allocations: 0 / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.4084, allocations: 0 / 1.06 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4084, allocations: 7.875 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/0.4086, allocations: 59.94 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.409, allocations: 296.6 kB / 1.06 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.4092, allocations: 70.53 kB / 1.06 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.4093, allocations: 40.91 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.4094, allocations: 4.062 kB / 1.06 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.4094, allocations: 30.56 kB / 1.06 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.4094, allocations: 0 / 1.06 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000403/0.4098, allocations: 125.6 kB / 1.061 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.4098, allocations: 55.41 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.692e-05/0.4099, allocations: 109.8 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.41, allocations: 25.7 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.41, allocations: 92.03 kB / 1.061 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.41, allocations: 11.91 kB / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-06/0.4101, allocations: 0 / 1.061 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.676e-05/0.4102, allocations: 318.8 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.791e-05/0.4103, allocations: 27.97 kB / 1.061 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.207e-05/0.4104, allocations: 27.98 kB / 1.061 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.475e-05/0.4105, allocations: 31.97 kB / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4105, allocations: 0 / 1.061 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002198/0.4107, allocations: 101.5 kB / 1.061 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4107, allocations: 8 kB / 1.061 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.4107, allocations: 4 kB / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4107, allocations: 0 / 1.061 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.4109, allocations: 15.98 kB / 1.061 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4109, allocations: 0 / 1.061 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.4109, allocations: 7.984 kB / 1.061 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.411, allocations: 4 kB / 1.061 GB, free: 1.652 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.515e-05/0.4111, allocations: 117.8 kB / 1.061 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.4111, allocations: 4 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.4111, allocations: 3.906 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4111, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.4111, allocations: 0 / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.4112, allocations: 3.938 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.4113, allocations: 181.6 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4114, allocations: 0 / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.4114, allocations: 19.92 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.4115, allocations: 4 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.4115, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4115, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4115, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.4118, allocations: 195.4 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.198e-05/0.4118, allocations: 92.92 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.4118, allocations: 0 / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.4119, allocations: 8 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.412, allocations: 11.98 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.412, allocations: 384 / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.4121, allocations: 91.52 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4121, allocations: 0 / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002142/0.4123, allocations: 12 kB / 1.062 GB, free: 0.8242 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.4124, allocations: 95.25 kB / 1.062 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.4127, allocations: 75.86 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4127, allocations: 4 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.4128, allocations: 35.97 kB / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.4131, allocations: 0 / 1.062 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.4135, allocations: 136.5 kB / 1.062 GB, free: 460 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.4137, allocations: 0.6848 MB / 1.063 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.737e-05/0.4138, allocations: 11.92 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.4138, allocations: 11.44 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.4138, allocations: 3.938 kB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of Templates: time 0.003011/0.4168, allocations: 0.7433 MB / 1.064 GB, free: 14.98 MB / 0.8262 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