Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.00117/0.00117, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001811/0.002981, allocations: 440 kB / 10.41 MB, free: 284 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.0008163/0.0008163, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001458/0.002274, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.9608/0.9608, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09834/1.059, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.512/2.512, allocations: 447.1 MB / 0.675 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2592/2.771, allocations: 146 MB / 0.8176 GB, free: 3.805 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.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intLesEquThr.t|intLesEquThr.u|intLesEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.8189 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.509e-05, allocations: 4.844 kB / 0.8189 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001749/0.001774, allocations: 0.7487 MB / 0.8197 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007269/0.002501, allocations: 0.882 MB / 0.8205 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.002532, allocations: 7.938 kB / 0.8205 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.00256, allocations: 7.922 kB / 0.8206 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.624e-05/0.002607, allocations: 3.938 kB / 0.8206 GB, free: 0.7891 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 7.303e-05/0.00268, allocations: 19.92 kB / 0.8206 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.002753, allocations: 43.92 kB / 0.8206 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.273e-05/0.002836, allocations: 19.91 kB / 0.8206 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.539e-05/0.002931, allocations: 27.92 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.002992, allocations: 27.89 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.003016, allocations: 4 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.003027, allocations: 4 kB / 0.8207 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.003045, allocations: 8 kB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.003065, allocations: 11.94 kB / 0.8207 GB, free: 0.625 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.794e-05/0.003153, allocations: 31.91 kB / 0.8207 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.277e-05/0.003166, allocations: 0 / 0.8207 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.82e-07/0.003167, allocations: 3.938 kB / 0.8207 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.003177, allocations: 0 / 0.8207 GB, free: 0.5898 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003908/0.003568, allocations: 260.5 kB / 0.821 GB, free: 320 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.0036, allocations: 8.031 kB / 0.821 GB, free: 312 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.024e-05/0.00363, allocations: 4.938 kB / 0.821 GB, free: 308 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.003723, allocations: 121.7 kB / 0.8211 GB, free: 160 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.003743, allocations: 8.375 kB / 0.8211 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.003755, allocations: 8.312 kB / 0.8211 GB, free: 144 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.003878, allocations: 62.94 kB / 0.8212 GB, free: 72 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.003884, allocations: 3.938 kB / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.003891, allocations: 0 / 0.8212 GB, free: 68 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003897, allocations: 4 kB / 0.8212 GB, free: 64 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.695e-05/0.003924, allocations: 7.984 kB / 0.8212 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.004184, allocations: 168.3 kB / 0.8214 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.977e-05/0.004264, allocations: 38.56 kB / 0.8214 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.004284, allocations: 16.86 kB / 0.8214 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.0043, allocations: 3.938 kB / 0.8214 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.004323, allocations: 38.56 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.004324, allocations: 0 / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001306/0.004455, allocations: 49.67 kB / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.004485, allocations: 55.34 kB / 0.8216 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.592e-05/0.004541, allocations: 114.7 kB / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.004551, allocations: 25.7 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.004591, allocations: 88.09 kB / 0.8218 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.004609, allocations: 7.953 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.004639, allocations: 25.69 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.00472, allocations: 314.8 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.482e-05/0.004734, allocations: 0 / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.004748, allocations: 7.984 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.004783, allocations: 20.84 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004785, allocations: 0 / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.306e-05/0.004849, allocations: 49.56 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.004865, allocations: 5.25 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.004871, allocations: 3.938 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.004882, allocations: 8 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.004968, allocations: 7.984 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.004972, allocations: 4 kB / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.712e-05/0.004999, allocations: 8 kB / 0.8222 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.005006, allocations: 7.984 kB / 0.8222 GB, free: 14.91 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: 2 (reaToInt.y,intLesEquThr.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 5.995e-05/0.005066, allocations: 110.2 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.005082, allocations: 7.938 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.005107, allocations: 11.98 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.005109, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.005111, allocations: 0 / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.005114, allocations: 4 kB / 0.8224 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.031e-05/0.005204, allocations: 81.78 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.005205, allocations: 0 / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.686e-05/0.005242, allocations: 11.98 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-06/0.005249, allocations: 0 / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.005252, allocations: 3.938 kB / 0.8225 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.005258, allocations: 3.984 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.005259, allocations: 0 / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.005261, allocations: 7.938 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.871e-05/0.00536, allocations: 139.5 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.005369, allocations: 7.938 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.005409, allocations: 7.984 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.00545, allocations: 11.98 kB / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.005453, allocations: 0 / 0.8226 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.701e-05/0.00547, allocations: 12.86 kB / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.00547, allocations: 0 / 0.8226 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001177/0.005588, allocations: 4 kB / 0.8226 GB, free: 14.44 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: 2 (intLesEquThr.y,reaToInt.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 9.384e-05/0.005682, allocations: 80.41 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.15e-05/0.005753, allocations: 32.72 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.00576, allocations: 12 kB / 0.8228 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.005788, allocations: 12.86 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.005951, allocations: 37.69 kB / 0.8228 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.006349, allocations: 136.7 kB / 0.8229 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.214e-05/0.006381, allocations: 51.36 kB / 0.823 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.944e-05/0.00641, allocations: 11.98 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.755e-05/0.006478, allocations: 55.38 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of SimCode: time 5.71e-07/0.006478, allocations: 0 / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of Templates: time 0.002618/0.009096, allocations: 0.9719 MB / 0.824 GB, free: 12.98 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.315961145795882]