Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.000997/0.000997, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001018/0.001018, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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 0.9449/0.9449, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.142/2.142, allocations: 429.5 MB / 0.6732 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaToInt.u|reaToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.254e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001821/0.001843, allocations: 0.6442 MB / 0.8788 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003039, allocations: 0.8613 MB / 0.8796 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.003076, allocations: 0.6562 kB / 0.8796 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.003109, allocations: 4 kB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.453e-05/0.003183, allocations: 5.672 kB / 0.8796 GB, free: 4.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.00336, allocations: 16.58 kB / 0.8796 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.974e-05/0.00344, allocations: 26.11 kB / 0.8797 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.003541, allocations: 9.094 kB / 0.8797 GB, free: 4.77 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.003632, allocations: 15.97 kB / 0.8797 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.173e-05/0.003683, allocations: 11.98 kB / 0.8797 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.003706, allocations: 5.094 kB / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.587e-06/0.003715, allocations: 0 / 0.8797 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.852e-05/0.003733, allocations: 7.938 kB / 0.8797 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.003758, allocations: 5.031 kB / 0.8797 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.664e-05/0.003854, allocations: 19.91 kB / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.003857, allocations: 0 / 0.8797 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.837e-06/0.003861, allocations: 9.078 kB / 0.8797 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.003866, allocations: 0 / 0.8797 GB, free: 4.699 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004338/0.0043, allocations: 353.7 kB / 0.8801 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.004342, allocations: 12.03 kB / 0.8801 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.004382, allocations: 0.9375 kB / 0.8801 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.004484, allocations: 121.6 kB / 0.8802 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.004506, allocations: 384 / 0.8802 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.004521, allocations: 384 / 0.8802 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.004676, allocations: 59.66 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.004688, allocations: 4.125 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.004698, allocations: 3.688 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.004707, allocations: 384 / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.004754, allocations: 19.86 kB / 0.8803 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003491/0.005103, allocations: 239.8 kB / 0.8805 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.00518, allocations: 43.09 kB / 0.8806 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.559e-05/0.005216, allocations: 11.75 kB / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.005233, allocations: 0 / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.005261, allocations: 38.55 kB / 0.8806 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.005262, allocations: 0 / 0.8806 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002037/0.005465, allocations: 51.19 kB / 0.8807 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/0.005504, allocations: 51.41 kB / 0.8807 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.005609, allocations: 157.9 kB / 0.8809 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.005625, allocations: 25.7 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.005693, allocations: 136 kB / 0.881 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.005718, allocations: 3.953 kB / 0.881 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.00576, allocations: 23.38 kB / 0.881 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.005939, allocations: 493.6 kB / 0.8815 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.005966, allocations: 4 kB / 0.8815 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.739e-05/0.005983, allocations: 3.984 kB / 0.8815 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.421e-05/0.006037, allocations: 27.81 kB / 0.8815 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.00604, allocations: 0 / 0.8815 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.989e-05/0.00614, allocations: 33.7 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.006158, allocations: 7.984 kB / 0.8816 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.006169, allocations: 7.938 kB / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.006191, allocations: 4 kB / 0.8816 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.006301, allocations: 4 kB / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.006308, allocations: 0 / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.00634, allocations: 4 kB / 0.8816 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.006348, allocations: 3.984 kB / 0.8816 GB, free: 2.59 MB / 0.8386 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001024/0.006451, allocations: 160.6 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.123e-05/0.006482, allocations: 7.953 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.006518, allocations: 11.19 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.006521, allocations: 192 / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.006525, allocations: 0 / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.006531, allocations: 3.984 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.006673, allocations: 120.6 kB / 0.8819 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.006674, allocations: 0 / 0.8819 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-05/0.006722, allocations: 8 kB / 0.8819 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.006724, allocations: 0 / 0.8819 GB, free: 2.238 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.006733, allocations: 7.984 kB / 0.8819 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.006736, allocations: 3.938 kB / 0.8819 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.006738, allocations: 0 / 0.8819 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.006892, allocations: 184 kB / 0.8821 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.896e-06/0.006901, allocations: 3.984 kB / 0.8821 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.006915, allocations: 4 kB / 0.8821 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.006983, allocations: 3.938 kB / 0.8821 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/0.007045, allocations: 11.98 kB / 0.8821 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-06/0.00705, allocations: 0 / 0.8821 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.007099, allocations: 127.1 kB / 0.8822 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.007099, allocations: 4.031 kB / 0.8822 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002517/0.007351, allocations: 4 kB / 0.8822 GB, free: 1.871 MB / 0.8386 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.694e-05/0.007438, allocations: 95.25 kB / 0.8823 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.007553, allocations: 19.67 kB / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.007555, allocations: 0 / 0.8824 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.007587, allocations: 15.69 kB / 0.8824 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.007862, allocations: 7.984 kB / 0.8824 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.008187, allocations: 118.5 kB / 0.8825 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.056e-05/0.008228, allocations: 51.36 kB / 0.8825 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.826e-05/0.008256, allocations: 4 kB / 0.8825 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.008298, allocations: 16.5 kB / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/0.008299, allocations: 0 / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.00291/0.01121, allocations: 0.6638 MB / 0.8832 GB, free: 0.832 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.479372929316014]