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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 109.5 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 192.7 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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 / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.012/3.012, allocations: 489.2 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] 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=2500,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=2500,variableFilter="time|intToRea.u|intToRea.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 67.89 kB / 1.103 GB, free: 0.8242 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001964/1.05, allocations: 0.6701 MB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00102/1.051, allocations: 0.8312 MB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.531e-05/1.052, allocations: 0.8125 kB / 1.264 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.509e-05/1.052, allocations: 5.922 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.602e-05/1.052, allocations: 8.344 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/1.052, allocations: 25.77 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.262e-05/1.052, allocations: 47.77 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/1.052, allocations: 12.06 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.003e-05/1.052, allocations: 18.31 kB / 1.264 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.136e-05/1.052, allocations: 36.25 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/1.052, allocations: 4.031 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/1.052, allocations: 4.312 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/1.052, allocations: 8.688 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/1.052, allocations: 17.67 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/1.052, allocations: 52.58 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.052, allocations: 0.9688 kB / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.252e-06/1.052, allocations: 0 / 1.264 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.909e-06/1.052, allocations: 0 / 1.264 GB, free: 6.828 MB / 0.9981 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.0004669/1.053, allocations: 353.9 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.053, allocations: 8.906 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.802e-05/1.053, allocations: 7.141 kB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/1.053, allocations: 169.4 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/1.053, allocations: 5.781 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/1.053, allocations: 6.781 kB / 1.265 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/1.053, allocations: 64.05 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.053, allocations: 1.719 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/1.053, allocations: 8.719 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/1.053, allocations: 4.906 kB / 1.265 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/1.054, allocations: 52 kB / 1.265 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/1.054, allocations: 285 kB / 1.265 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/1.054, allocations: 65.34 kB / 1.265 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/1.054, allocations: 33.06 kB / 1.265 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/1.054, allocations: 0.9375 kB / 1.265 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/1.054, allocations: 36.28 kB / 1.265 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/1.054, allocations: 0 / 1.265 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004558/1.055, allocations: 106 kB / 1.265 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.055, allocations: 57.02 kB / 1.265 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.071e-05/1.055, allocations: 108.1 kB / 1.266 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/1.055, allocations: 26.92 kB / 1.266 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/1.055, allocations: 86.56 kB / 1.266 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/1.055, allocations: 15.58 kB / 1.266 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/1.055, allocations: 15.44 kB / 1.266 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.85e-05/1.055, allocations: 321 kB / 1.266 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/1.055, allocations: 26.66 kB / 1.266 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/1.056, allocations: 23.09 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/1.056, allocations: 54.03 kB / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.056, allocations: 0.7031 kB / 1.266 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002539/1.056, allocations: 87.91 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/1.056, allocations: 5.781 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.056, allocations: 4.25 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/1.056, allocations: 1.547 kB / 1.266 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/1.056, allocations: 25.08 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/1.056, allocations: 0 / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/1.056, allocations: 6.266 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/1.056, allocations: 1.984 kB / 1.266 GB, free: 5.027 MB / 0.9981 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 6.735e-05/1.056, allocations: 117.1 kB / 1.266 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/1.056, allocations: 5.75 kB / 1.266 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/1.057, allocations: 13.73 kB / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.057, allocations: 0.8125 kB / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.057, allocations: 1.516 kB / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/1.057, allocations: 0 / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/1.057, allocations: 173.7 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.057, allocations: 0.6094 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.449e-05/1.057, allocations: 12.67 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.057, allocations: 0.9062 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/1.057, allocations: 1.703 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.057, allocations: 0.7812 kB / 1.267 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.057, allocations: 4.797 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/1.057, allocations: 187.5 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/1.057, allocations: 79.45 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/1.057, allocations: 1.391 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.765e-05/1.057, allocations: 9.797 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/1.057, allocations: 7.359 kB / 1.267 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/1.057, allocations: 6.234 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.932e-05/1.057, allocations: 86.03 kB / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.057, allocations: 0 / 1.267 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002216/1.058, allocations: 7.359 kB / 1.267 GB, free: 4.348 MB / 0.9981 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.0001106/1.058, allocations: 101.4 kB / 1.267 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002936/1.058, allocations: 52.55 kB / 1.267 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.058, allocations: 5.031 kB / 1.267 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/1.058, allocations: 31.67 kB / 1.267 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/1.059, allocations: 11.78 kB / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/1.059, allocations: 154 kB / 1.267 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/1.059, allocations: 0.6811 MB / 1.268 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.148e-05/1.059, allocations: 12.48 kB / 1.268 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of SimCode: time 4.61e-07/1.059, allocations: 0 / 1.268 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of Templates: time 0.003411/1.063, allocations: 0.8063 MB / 1.269 GB, free: 3.324 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.73401757911779]