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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002109/0.002109, allocations: 163.4 kB / 22.46 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.537/1.537, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.904/2.904, allocations: 389 MB / 0.633 GB, free: 0.9688 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.365e-06/2.365e-06, allocations: 0 / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.111e-05, allocations: 5.938 kB / 1 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.001782/0.001813, allocations: 0.6449 MB / 1.001 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.002973, allocations: 0.8509 MB / 1.002 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.19e-05/0.003025, allocations: 4 kB / 1.002 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.003056, allocations: 3.938 kB / 1.002 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.003136, allocations: 15.86 kB / 1.002 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.003299, allocations: 23.91 kB / 1.002 GB, free: 5.738 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.952e-05/0.003389, allocations: 39.92 kB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.003507, allocations: 15.97 kB / 1.002 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.836e-05/0.003596, allocations: 27.92 kB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.93e-05/0.003665, allocations: 23.91 kB / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.003689, allocations: 4 kB / 1.002 GB, free: 5.629 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.003702, allocations: 4 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.407e-05/0.003726, allocations: 11.92 kB / 1.002 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.003761, allocations: 15.98 kB / 1.002 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.003871, allocations: 47.84 kB / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003874, allocations: 0 / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003874, allocations: 0 / 1.002 GB, free: 5.551 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.003878, allocations: 0 / 1.002 GB, free: 5.551 MB / 0.9512 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.0005481/0.004426, allocations: 278.3 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.004462, allocations: 8.031 kB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.385e-05/0.004506, allocations: 8.891 kB / 1.002 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.004648, allocations: 117.7 kB / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.004665, allocations: 384 / 1.002 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.004678, allocations: 4.375 kB / 1.002 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.004904, allocations: 66.16 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.004913, allocations: 192 / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004924, allocations: 384 / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.004932, allocations: 8.359 kB / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.005158, allocations: 59.88 kB / 1.002 GB, free: 4.949 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.005578, allocations: 220.5 kB / 1.003 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.005799, allocations: 62.48 kB / 1.003 GB, free: 4.633 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.005917, allocations: 32.91 kB / 1.003 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.005941, allocations: 4 kB / 1.003 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.005972, allocations: 34.5 kB / 1.003 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.005973, allocations: 4 kB / 1.003 GB, free: 4.547 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004977/0.006471, allocations: 105.6 kB / 1.003 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.006531, allocations: 55.34 kB / 1.003 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.00665, allocations: 105.9 kB / 1.003 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.006681, allocations: 29.64 kB / 1.003 GB, free: 4.223 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/0.006768, allocations: 100.1 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.006794, allocations: 7.891 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.006841, allocations: 17.72 kB / 1.003 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.00701, allocations: 318.8 kB / 1.003 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.007144, allocations: 23.98 kB / 1.003 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.007246, allocations: 23.97 kB / 1.003 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.007476, allocations: 52.81 kB / 1.003 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.007478, allocations: 3.938 kB / 1.003 GB, free: 3.664 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00027/0.007748, allocations: 81.61 kB / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.007771, allocations: 15.92 kB / 1.004 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.007776, allocations: 4 kB / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.007793, allocations: 0 / 1.004 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.007928, allocations: 15.92 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.007934, allocations: 0 / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.839e-05/0.008012, allocations: 8 kB / 1.004 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.008025, allocations: 3.984 kB / 1.004 GB, free: 3.531 MB / 0.9512 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.865e-05/0.008124, allocations: 110.4 kB / 1.004 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.149e-05/0.008155, allocations: 7.938 kB / 1.004 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.008187, allocations: 12 kB / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.008189, allocations: 0 / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.008194, allocations: 0 / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.008197, allocations: 0 / 1.004 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.008359, allocations: 117.3 kB / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.008361, allocations: 256 / 1.004 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.926e-05/0.00846, allocations: 15.98 kB / 1.004 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.008467, allocations: 7.984 kB / 1.004 GB, free: 3.223 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.008479, allocations: 3.938 kB / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008481, allocations: 0 / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.008482, allocations: 0 / 1.004 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.008823, allocations: 191.8 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.008836, allocations: 4 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.008856, allocations: 3.938 kB / 1.004 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.00896, allocations: 7.984 kB / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.009028, allocations: 11.98 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.009034, allocations: 0 / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.009094, allocations: 87.28 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.009094, allocations: 0 / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002332/0.009327, allocations: 11.95 kB / 1.004 GB, free: 2.891 MB / 0.9512 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.000134/0.009461, allocations: 99.23 kB / 1.004 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.009738, allocations: 55.83 kB / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.009739, allocations: 0 / 1.004 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.009862, allocations: 35.97 kB / 1.004 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.01018, allocations: 4 kB / 1.004 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.01061, allocations: 140.6 kB / 1.004 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.687e-05/0.01067, allocations: 63.34 kB / 1.005 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 4.379e-05/0.01072, allocations: 4 kB / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.01077, allocations: 20.48 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.01077, allocations: 0 / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of Templates: time 0.004003/0.01478, allocations: 0.935 MB / 1.005 GB, free: 1.496 MB / 0.9512 GB " [Timeout remaining time 300] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.364354066550732]