Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.001891/0.001891, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001971/0.001971, allocations: 173.9 kB / 22.46 MB, free: 5.355 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.54/1.54, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.939/2.939, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/3.019e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual): time 0.001844/0.001874, allocations: 0.7632 MB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.003054, allocations: 0.886 MB / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.477e-05/0.003099, allocations: 0 / 0.9831 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.003131, allocations: 7.875 kB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.656e-05/0.003228, allocations: 15.86 kB / 0.9831 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.003424, allocations: 39.89 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.003545, allocations: 87.77 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.003646, allocations: 19.97 kB / 0.9832 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.003761, allocations: 51.89 kB / 0.9833 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.753e-05/0.003828, allocations: 35.94 kB / 0.9833 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.003852, allocations: 8 kB / 0.9833 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.653e-05/0.003869, allocations: 8 kB / 0.9833 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.564e-05/0.003904, allocations: 19.92 kB / 0.9833 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.003946, allocations: 31.84 kB / 0.9834 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.004085, allocations: 95.64 kB / 0.9835 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.004089, allocations: 4 kB / 0.9835 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.11e-07/0.00409, allocations: 4 kB / 0.9835 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.004093, allocations: 0 / 0.9835 GB, free: 9.859 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005736/0.004667, allocations: 318 kB / 0.9838 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.615e-05/0.004693, allocations: 8.031 kB / 0.9838 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.004725, allocations: 8.891 kB / 0.9838 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.004852, allocations: 121.7 kB / 0.9839 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.004866, allocations: 4.375 kB / 0.9839 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.00488, allocations: 4.375 kB / 0.9839 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.005199, allocations: 114.1 kB / 0.984 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.005207, allocations: 3.938 kB / 0.984 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.005219, allocations: 4 kB / 0.984 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.625e-06/0.005222, allocations: 3.938 kB / 0.984 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000397/0.005619, allocations: 95.89 kB / 0.9841 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.006097, allocations: 276.3 kB / 0.9844 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006335/0.006731, allocations: 118.5 kB / 0.9845 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.006937, allocations: 56.86 kB / 0.9846 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.00695, allocations: 0 / 0.9846 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.006985, allocations: 34.56 kB / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 7.71e-07/0.006986, allocations: 0 / 0.9846 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006799/0.007666, allocations: 185.4 kB / 0.9848 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.007711, allocations: 51.41 kB / 0.9848 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.007826, allocations: 121.8 kB / 0.9849 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.007847, allocations: 25.7 kB / 0.985 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.007913, allocations: 96.08 kB / 0.985 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.007939, allocations: 23.8 kB / 0.9851 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.292e-05/0.007992, allocations: 21.7 kB / 0.9851 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.008143, allocations: 330.8 kB / 0.9854 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.008342, allocations: 43.95 kB / 0.9854 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001952/0.008537, allocations: 43.95 kB / 0.9855 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.00891, allocations: 92.77 kB / 0.9856 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.008911, allocations: 4 kB / 0.9856 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000457/0.009368, allocations: 142 kB / 0.9857 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.009379, allocations: 4 kB / 0.9857 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.009382, allocations: 0 / 0.9857 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.00939, allocations: 0 / 0.9857 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.009558, allocations: 23.97 kB / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.009561, allocations: 0 / 0.9857 GB, free: 7.355 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.009688, allocations: 19.98 kB / 0.9858 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.009703, allocations: 7.984 kB / 0.9858 GB, free: 7.328 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intLesEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.613e-05/0.009799, allocations: 125.7 kB / 0.9859 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.991e-05/0.009839, allocations: 3.953 kB / 0.9859 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.009865, allocations: 12.44 kB / 0.9859 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.009867, allocations: 0 / 0.9859 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.009869, allocations: 0 / 0.9859 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.009871, allocations: 0 / 0.9859 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.01005, allocations: 137.2 kB / 0.986 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.01005, allocations: 4 kB / 0.986 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.01021, allocations: 23.97 kB / 0.9861 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01022, allocations: 0 / 0.9861 GB, free: 6.988 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.01023, allocations: 7.984 kB / 0.9861 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01023, allocations: 80 / 0.9861 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01023, allocations: 3.984 kB / 0.9861 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.01074, allocations: 235.3 kB / 0.9863 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.01076, allocations: 7.953 kB / 0.9863 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01078, allocations: 8 kB / 0.9863 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001606/0.01094, allocations: 11.98 kB / 0.9863 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.646e-05/0.01101, allocations: 27.95 kB / 0.9863 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.01102, allocations: 4 kB / 0.9864 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.136e-05/0.0111, allocations: 95.2 kB / 0.9864 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.0111, allocations: 0 / 0.9864 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002367/0.01133, allocations: 19.94 kB / 0.9865 GB, free: 6.559 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intLesEqu.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001212/0.01145, allocations: 103.2 kB / 0.9866 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004414/0.0119, allocations: 99.91 kB / 0.9867 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.0119, allocations: 0 / 0.9867 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.01212, allocations: 63.88 kB / 0.9867 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.01242, allocations: 15.94 kB / 0.9867 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.01283, allocations: 171.8 kB / 0.9869 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.113e-05/0.01291, allocations: 75.58 kB / 0.987 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.006e-05/0.01297, allocations: 8 kB / 0.987 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.948e-05/0.01304, allocations: 24.48 kB / 0.987 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.01304, allocations: 0 / 0.987 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.004497/0.01754, allocations: 1.7 MB / 0.9887 GB, free: 4.266 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.543528959155083]