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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001786/0.001786, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002887/0.002887, allocations: 197.9 kB / 16.14 MB, free: 6.648 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.506/1.506, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.077/3.077, allocations: 472.7 MB / 0.7447 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.98 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.5006, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.00247/0.5032, allocations: 0.7113 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.5043, allocations: 0.8391 MB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.5044, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.5045, allocations: 0 / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.103e-05/0.5046, allocations: 15.88 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.5048, allocations: 19.97 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.606e-05/0.5049, allocations: 39.91 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.505, allocations: 12 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.569e-05/0.5051, allocations: 15.92 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.024e-05/0.5052, allocations: 27.89 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.5052, allocations: 4 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.5052, allocations: 4 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.416e-05/0.5052, allocations: 8 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.5053, allocations: 23.8 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.5054, allocations: 43.86 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.5054, allocations: 0 / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.62e-07/0.5054, allocations: 0 / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.5054, allocations: 0 / 1.069 GB, free: 9.027 MB / 0.8262 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.0005795/0.506, allocations: 351.7 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5061, allocations: 8.031 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.5061, allocations: 12.84 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.5063, allocations: 172.3 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.5063, allocations: 384 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.5063, allocations: 8.375 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.5065, allocations: 62.22 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5066, allocations: 192 / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.5066, allocations: 3.938 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5066, allocations: 4 kB / 1.07 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.5068, allocations: 47.95 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.5073, allocations: 296.6 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.5076, allocations: 66.53 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.5077, allocations: 28.92 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.5077, allocations: 3.984 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.5077, allocations: 30.56 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.5078, allocations: 4 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004316/0.5082, allocations: 105.7 kB / 1.07 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.5082, allocations: 55.41 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.5084, allocations: 113.8 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.5084, allocations: 25.7 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.5084, allocations: 84.14 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.5085, allocations: 7.812 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.5085, allocations: 21.7 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.5087, allocations: 314.8 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.5088, allocations: 27.97 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/0.5089, allocations: 28.02 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.5091, allocations: 56.69 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5091, allocations: 4 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000252/0.5094, allocations: 81.89 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.5094, allocations: 9.562 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5094, allocations: 0 / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.5094, allocations: 8 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.5096, allocations: 11.98 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.5096, allocations: 0 / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.42e-05/0.5097, allocations: 11.89 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.5097, allocations: 4 kB / 1.071 GB, free: 6.773 MB / 0.8262 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.301e-05/0.5098, allocations: 119.2 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.5098, allocations: 4 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.5099, allocations: 7.891 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5099, allocations: 4 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.5099, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5099, allocations: 0 / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.5101, allocations: 177.6 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5101, allocations: 3.938 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.698e-05/0.5102, allocations: 15.97 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.5102, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.5102, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.5102, allocations: 0 / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.629e-05/0.5103, allocations: 7.984 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003322/0.5106, allocations: 183.4 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.5107, allocations: 84.95 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.5107, allocations: 3.938 kB / 1.072 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.97e-05/0.5108, allocations: 7.984 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.5109, allocations: 11.98 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.5109, allocations: 0 / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.5109, allocations: 91.28 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.511, allocations: 0 / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002474/0.5112, allocations: 4 kB / 1.072 GB, free: 5.961 MB / 0.8262 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.0001561/0.5114, allocations: 107.2 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.5117, allocations: 47.95 kB / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.5117, allocations: 0 / 1.072 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.5118, allocations: 39.97 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.5122, allocations: 3.938 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004234/0.5126, allocations: 139.2 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.5129, allocations: 0.677 MB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.623e-05/0.513, allocations: 8 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.5131, allocations: 19.42 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of SimCode: time 2.9e-07/0.5131, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of Templates: time 0.003609/0.5167, allocations: 0.7722 MB / 1.074 GB, free: 4.098 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