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.000939/0.000939, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0009746/0.0009746, allocations: 169 kB / 23.27 MB, free: 1.223 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.9775/0.9775, allocations: 177.1 MB / 203.7 MB, free: 5.523 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.357/2.357, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.495e-06/2.495e-06, allocations: 0 / 0.8897 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.744e-05, allocations: 5.125 kB / 0.8897 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001415/0.001442, allocations: 0.6389 MB / 0.8904 GB, free: 9.129 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.002284, allocations: 0.8624 MB / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.002319, allocations: 0 / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.002345, allocations: 0 / 0.8912 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.002414, allocations: 3.938 kB / 0.8912 GB, free: 8.25 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001347/0.002549, allocations: 19.91 kB / 0.8912 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.966e-05/0.002609, allocations: 27.92 kB / 0.8912 GB, free: 8.203 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.398e-05/0.002693, allocations: 8 kB / 0.8913 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.935e-05/0.002772, allocations: 11.98 kB / 0.8913 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.002815, allocations: 19.92 kB / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.002832, allocations: 0 / 0.8913 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.002839, allocations: 4 kB / 0.8913 GB, free: 8.16 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.641e-05/0.002856, allocations: 3.984 kB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.002875, allocations: 8 kB / 0.8913 GB, free: 8.148 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.129e-05/0.002946, allocations: 19.91 kB / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002948, allocations: 0 / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002949, allocations: 0 / 0.8913 GB, free: 8.129 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.002952, allocations: 0 / 0.8913 GB, free: 8.129 MB / 0.8542 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.0002983/0.003251, allocations: 360.6 kB / 0.8917 GB, free: 7.738 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.003289, allocations: 12.03 kB / 0.8917 GB, free: 7.727 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.285e-05/0.003311, allocations: 8.875 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/0.003393, allocations: 116.5 kB / 0.8918 GB, free: 7.578 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.003408, allocations: 4.375 kB / 0.8918 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.003414, allocations: 384 / 0.8918 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.003521, allocations: 54.95 kB / 0.8919 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003527, allocations: 4.188 kB / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.003533, allocations: 384 / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.003538, allocations: 384 / 0.8919 GB, free: 7.508 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.268e-05/0.00356, allocations: 15.86 kB / 0.8919 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.003783, allocations: 232.5 kB / 0.8921 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.687e-05/0.00383, allocations: 35.05 kB / 0.8921 GB, free: 7.191 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.003846, allocations: 11.75 kB / 0.8921 GB, free: 7.176 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.003861, allocations: 4 kB / 0.8921 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.003879, allocations: 33.39 kB / 0.8922 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.00388, allocations: 0 / 0.8922 GB, free: 7.129 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000122/0.004002, allocations: 49.56 kB / 0.8922 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.004028, allocations: 51.41 kB / 0.8923 GB, free: 7.012 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.004092, allocations: 157.9 kB / 0.8924 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.004103, allocations: 29.83 kB / 0.8924 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.004146, allocations: 130.9 kB / 0.8926 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.004164, allocations: 11.94 kB / 0.8926 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.004189, allocations: 15.38 kB / 0.8926 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.004317, allocations: 0.4884 MB / 0.8931 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.004331, allocations: 0 / 0.8931 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.004341, allocations: 4 kB / 0.8931 GB, free: 6.133 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.004368, allocations: 15.62 kB / 0.8931 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00437, allocations: 0 / 0.8931 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.601e-05/0.004426, allocations: 45.75 kB / 0.8931 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.004437, allocations: 8 kB / 0.8931 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.004442, allocations: 0 / 0.8931 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.118e-06/0.004451, allocations: 3.938 kB / 0.8931 GB, free: 6.051 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.004509, allocations: 4 kB / 0.8932 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.475e-06/0.004512, allocations: 0 / 0.8932 GB, free: 6.047 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.906e-05/0.004531, allocations: 11.94 kB / 0.8932 GB, free: 6.035 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-06/0.004535, allocations: 0 / 0.8932 GB, free: 6.035 MB / 0.8542 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 6.25e-05/0.004597, allocations: 152.6 kB / 0.8933 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.00461, allocations: 11.97 kB / 0.8933 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.004629, allocations: 7.312 kB / 0.8933 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.004632, allocations: 3.938 kB / 0.8933 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.004633, allocations: 0 / 0.8933 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.004636, allocations: 0 / 0.8933 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.553e-05/0.004722, allocations: 105.4 kB / 0.8934 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.004723, allocations: 4 kB / 0.8934 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.004745, allocations: 4 kB / 0.8934 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.004748, allocations: 3.984 kB / 0.8934 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.004752, allocations: 0 / 0.8934 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.004754, allocations: 3.984 kB / 0.8934 GB, free: 5.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.004756, allocations: 4 kB / 0.8935 GB, free: 5.703 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.00486, allocations: 187.9 kB / 0.8936 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.332e-06/0.004866, allocations: 3.984 kB / 0.8936 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.415e-06/0.004874, allocations: 4 kB / 0.8936 GB, free: 5.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.051e-05/0.004905, allocations: 4 kB / 0.8936 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.004941, allocations: 7.984 kB / 0.8936 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.004945, allocations: 7.938 kB / 0.8937 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.245e-05/0.004978, allocations: 123.2 kB / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.004978, allocations: 0 / 0.8938 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001298/0.005107, allocations: 4 kB / 0.8938 GB, free: 5.348 MB / 0.8542 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 7.463e-05/0.005182, allocations: 99.22 kB / 0.8939 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.632e-05/0.005248, allocations: 23.67 kB / 0.8939 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.00525, allocations: 0 / 0.8939 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.969e-05/0.00527, allocations: 15.69 kB / 0.8939 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.005438, allocations: 7.984 kB / 0.8939 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.005649, allocations: 106.6 kB / 0.894 GB, free: 5.051 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.459e-05/0.005684, allocations: 59.3 kB / 0.8941 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.994e-05/0.005704, allocations: 7.938 kB / 0.8941 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.00575, allocations: 70.2 kB / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of SimCode: time 3.61e-07/0.005751, allocations: 0 / 0.8942 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of Templates: time 0.002225/0.007976, allocations: 0.7037 MB / 0.8948 GB, free: 4.195 MB / 0.8542 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.228555394336581]