Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.001318/0.001318, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001647/0.002965, 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.001116/0.001116, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001393/0.002509, 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.9337/0.9337, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09214/1.026, allocations: 53.65 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.397/2.397, allocations: 446.7 MB / 0.6745 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.29/2.687, allocations: 145.9 MB / 0.817 GB, free: 4.238 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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.12e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001642/0.001663, allocations: 0.7667 MB / 0.8191 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009125/0.002576, allocations: 0.8742 MB / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.002609, allocations: 0 / 0.8199 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.002633, allocations: 3.938 kB / 0.8199 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.607e-05/0.00268, allocations: 11.88 kB / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.009e-05/0.00276, allocations: 31.89 kB / 0.82 GB, free: 1.215 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003098/0.005857, allocations: 39.92 kB / 0.82 GB, free: 1.176 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.22e-05/0.00595, allocations: 11.98 kB / 0.82 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.006053, allocations: 35.84 kB / 0.82 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.289e-05/0.006126, allocations: 23.97 kB / 0.8201 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.006153, allocations: 4 kB / 0.8201 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.115e-05/0.006164, allocations: 7.938 kB / 0.8201 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.006181, allocations: 8 kB / 0.8201 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.006206, allocations: 8 kB / 0.8201 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.586e-05/0.006302, allocations: 23.86 kB / 0.8201 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-05/0.006319, allocations: 4 kB / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.363e-06/0.00632, allocations: 0 / 0.8201 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.687e-05/0.006337, allocations: 0 / 0.8201 GB, free: 1.051 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.0004129/0.00675, allocations: 260.5 kB / 0.8204 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.006782, allocations: 8.031 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.006813, allocations: 8.938 kB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.00691, allocations: 117.7 kB / 0.8205 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.00693, allocations: 8.312 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.006939, allocations: 384 / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.007077, allocations: 70.91 kB / 0.8206 GB, free: 0.5312 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.007084, allocations: 11.88 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.007094, allocations: 4 kB / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.007098, allocations: 0 / 0.8206 GB, free: 0.5156 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.532e-05/0.007134, allocations: 8 kB / 0.8206 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.007392, allocations: 172.2 kB / 0.8208 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.607e-05/0.007469, allocations: 30.56 kB / 0.8208 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.409e-05/0.007493, allocations: 16.86 kB / 0.8208 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.007507, allocations: 7.938 kB / 0.8208 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.00753, allocations: 30.56 kB / 0.8208 GB, free: 224 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.007531, allocations: 4 kB / 0.8208 GB, free: 220 kB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0001445/0.007676, allocations: 49.62 kB / 0.8209 GB, free: 164 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.007711, allocations: 55.39 kB / 0.8209 GB, free: 96 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.516e-05/0.007796, allocations: 110.8 kB / 0.821 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.00781, allocations: 25.7 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.417e-05/0.007854, allocations: 100.1 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.423e-05/0.007869, allocations: 3.953 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.007907, allocations: 13.72 kB / 0.8212 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.007991, allocations: 322.8 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.791e-05/0.008009, allocations: 4 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.008023, allocations: 8 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/0.008062, allocations: 16.84 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008064, allocations: 0 / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.681e-05/0.008141, allocations: 57.55 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.008155, allocations: 8 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00816, allocations: 0 / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.008168, allocations: 0 / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.324e-05/0.008261, allocations: 15.98 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-06/0.008263, allocations: 0 / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.074e-05/0.008294, allocations: 8 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.008299, allocations: 0 / 0.8216 GB, free: 15.37 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,intGreThr.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 6.237e-05/0.008361, allocations: 105.8 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.008386, allocations: 11.92 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.008411, allocations: 8 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.008413, allocations: 4.266 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.008416, allocations: 4 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.008418, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001209/0.008539, allocations: 85.77 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.008542, allocations: 3.984 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.606e-05/0.008608, allocations: 15.98 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-06/0.008617, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.00862, allocations: 3.938 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.008626, allocations: 4 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.008627, allocations: 3.938 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.008628, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.008742, allocations: 143.5 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.008754, allocations: 3.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.611e-05/0.00881, allocations: 4 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.939e-05/0.008859, allocations: 7.984 kB / 0.822 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.008866, allocations: 11.98 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.63e-05/0.008883, allocations: 8.859 kB / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008883, allocations: 0 / 0.822 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001743/0.009057, allocations: 12 kB / 0.822 GB, free: 14.89 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 (intGreThr.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 0.000106/0.009163, allocations: 76.41 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.837e-05/0.009241, allocations: 24.78 kB / 0.8221 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.009246, allocations: 4 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.026e-05/0.009276, allocations: 16.84 kB / 0.8221 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001824/0.009459, allocations: 16 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.009894, allocations: 128.7 kB / 0.8223 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.878e-05/0.009933, allocations: 59.34 kB / 0.8223 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.009968, allocations: 4 kB / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.01003, allocations: 51.38 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of SimCode: time 6.92e-07/0.01003, allocations: 4 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of Templates: time 0.00281/0.01284, allocations: 1.006 MB / 0.8234 GB, free: 13.46 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.141976706683636]