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.0008964/0.0008964, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.002006, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007301/0.0007301, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009081/0.001638, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9847/0.9847, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1233/1.108, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.715/2.715, allocations: 446.7 MB / 0.6745 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3164/3.031, allocations: 145.9 MB / 0.817 GB, free: 4.207 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 3.166e-06/3.166e-06, allocations: 0 / 0.8183 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.677e-05/3.994e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001822/0.001862, allocations: 0.6663 MB / 0.8189 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.0029, allocations: 0.8664 MB / 0.8198 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.119e-05/0.002931, allocations: 4 kB / 0.8198 GB, free: 1.371 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.707e-05/0.002958, allocations: 3.938 kB / 0.8198 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.15e-05/0.003, allocations: 7.969 kB / 0.8198 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.079e-05/0.003091, allocations: 15.88 kB / 0.8198 GB, free: 1.344 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.003179, allocations: 27.92 kB / 0.8198 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.003287, allocations: 4 kB / 0.8198 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.0034, allocations: 23.92 kB / 0.8199 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.003465, allocations: 11.97 kB / 0.8199 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.003496, allocations: 0 / 0.8199 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.789e-05/0.003514, allocations: 4 kB / 0.8199 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.003533, allocations: 4 kB / 0.8199 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.003564, allocations: 11.94 kB / 0.8199 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001067/0.003671, allocations: 11.98 kB / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.412e-05/0.003695, allocations: 4 kB / 0.8199 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.92e-07/0.003695, allocations: 0 / 0.8199 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.522e-05/0.003721, allocations: 0 / 0.8199 GB, free: 1.242 MB / 0.7917 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.0005072/0.004228, allocations: 228.7 kB / 0.8201 GB, free: 0.9922 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.004272, allocations: 12.02 kB / 0.8201 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.004306, allocations: 4.938 kB / 0.8201 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.004416, allocations: 117.6 kB / 0.8202 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.004441, allocations: 4.375 kB / 0.8203 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.004451, allocations: 4.375 kB / 0.8203 GB, free: 0.8281 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.004599, allocations: 54.94 kB / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.004608, allocations: 192 / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.004615, allocations: 384 / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.004621, allocations: 384 / 0.8203 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.218e-05/0.004653, allocations: 11.92 kB / 0.8203 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.00493, allocations: 152.3 kB / 0.8205 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.417e-05/0.004994, allocations: 30.55 kB / 0.8205 GB, free: 0.5508 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.005014, allocations: 8.859 kB / 0.8205 GB, free: 0.5391 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.005029, allocations: 8 kB / 0.8205 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.005057, allocations: 30.56 kB / 0.8205 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.005058, allocations: 0 / 0.8205 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.005201, allocations: 41.62 kB / 0.8206 GB, free: 456 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.005242, allocations: 55.34 kB / 0.8206 GB, free: 388 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.133e-05/0.005313, allocations: 110.7 kB / 0.8207 GB, free: 264 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.005326, allocations: 25.7 kB / 0.8208 GB, free: 232 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.558e-05/0.005361, allocations: 80.14 kB / 0.8208 GB, free: 148 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.005383, allocations: 3.953 kB / 0.8208 GB, free: 144 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.005428, allocations: 21.83 kB / 0.8209 GB, free: 116 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.005546, allocations: 318.8 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.005557, allocations: 0 / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.07e-05/0.005568, allocations: 4 kB / 0.8212 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.005599, allocations: 12.84 kB / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.005601, allocations: 0 / 0.8212 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.509e-05/0.005666, allocations: 41.62 kB / 0.8212 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.00568, allocations: 4 kB / 0.8212 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.005685, allocations: 0 / 0.8212 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.005694, allocations: 8.094 kB / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.005785, allocations: 7.938 kB / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.005788, allocations: 0 / 0.8212 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.005813, allocations: 7.984 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.005819, allocations: 4 kB / 0.8213 GB, free: 15.7 MB / 0.8073 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.272e-05/0.005882, allocations: 105.8 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.005901, allocations: 4 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.959e-05/0.005921, allocations: 3.312 kB / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.005922, allocations: 0 / 0.8214 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.005925, allocations: 3.938 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.005929, allocations: 4 kB / 0.8214 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.00604, allocations: 69.89 kB / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.00604, allocations: 0 / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.006074, allocations: 7.984 kB / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-06/0.00608, allocations: 0 / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006081, allocations: 0 / 0.8214 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.568e-06/0.006086, allocations: 4 kB / 0.8214 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.006087, allocations: 0 / 0.8214 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.006091, allocations: 7.875 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.703e-05/0.006188, allocations: 135.5 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.0062, allocations: 8.031 kB / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.877e-05/0.006249, allocations: 0 / 0.8216 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.006301, allocations: 11.98 kB / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.006305, allocations: 0 / 0.8216 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.836e-05/0.006323, allocations: 16.78 kB / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006323, allocations: 0 / 0.8216 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001781/0.006501, allocations: 4 kB / 0.8216 GB, free: 15.27 MB / 0.8073 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 9.004e-05/0.006591, allocations: 80.41 kB / 0.8217 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.846e-05/0.00667, allocations: 16.8 kB / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.006677, allocations: 4 kB / 0.8217 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.033e-05/0.006697, allocations: 8.859 kB / 0.8217 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.006882, allocations: 15.98 kB / 0.8217 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004341/0.007316, allocations: 112.6 kB / 0.8219 GB, free: 15 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.953e-05/0.007355, allocations: 51.36 kB / 0.8219 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.007384, allocations: 12.11 kB / 0.8219 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.007441, allocations: 55.38 kB / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/0.007442, allocations: 0 / 0.822 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of Templates: time 0.002637/0.01008, allocations: 0.6597 MB / 0.8226 GB, free: 14.21 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.ref.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.706757144071162]