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.0007318/0.0007318, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001185/0.001917, 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.000727/0.000727, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009488/0.001676, allocations: 475.6 kB / 11.79 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.9023/0.9023, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1236/1.026, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.387/2.387, allocations: 447.1 MB / 0.675 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2477/2.635, allocations: 146 MB / 0.8176 GB, free: 3.852 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 2.254e-06/2.254e-06, allocations: 0 / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.579e-05/2.804e-05, allocations: 6.25 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002252/0.00228, allocations: 0.7643 MB / 0.8197 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.003356, allocations: 0.8819 MB / 0.8205 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.003394, allocations: 4 kB / 0.8205 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.758e-05/0.003421, allocations: 3.938 kB / 0.8206 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.00347, allocations: 3.938 kB / 0.8206 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.419e-05/0.003564, allocations: 27.84 kB / 0.8206 GB, free: 0.8047 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.869e-05/0.003652, allocations: 39.92 kB / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/0.00375, allocations: 19.91 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.003864, allocations: 31.98 kB / 0.8207 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.003939, allocations: 27.89 kB / 0.8207 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.003967, allocations: 4 kB / 0.8207 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.003979, allocations: 4 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.004001, allocations: 4 kB / 0.8207 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.004028, allocations: 11.94 kB / 0.8207 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.004134, allocations: 23.92 kB / 0.8207 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.004148, allocations: 0 / 0.8207 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.193e-06/0.004149, allocations: 4 kB / 0.8207 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.004163, allocations: 3.938 kB / 0.8207 GB, free: 0.6328 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.0004868/0.00465, allocations: 268.5 kB / 0.821 GB, free: 356 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.004686, allocations: 8.031 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.484e-05/0.00473, allocations: 4.938 kB / 0.821 GB, free: 344 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.004849, allocations: 117.6 kB / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.004873, allocations: 384 / 0.8211 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.004888, allocations: 4.375 kB / 0.8211 GB, free: 196 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/0.005192, allocations: 66.92 kB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.005203, allocations: 7.922 kB / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.005213, allocations: 0 / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005219, allocations: 0 / 0.8212 GB, free: 112 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.414e-05/0.005263, allocations: 12 kB / 0.8212 GB, free: 100 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.005599, allocations: 172.2 kB / 0.8214 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.005704, allocations: 38.56 kB / 0.8214 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.482e-05/0.005729, allocations: 12.94 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.005746, allocations: 3.938 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.005773, allocations: 34.55 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.005775, allocations: 4 kB / 0.8215 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001555/0.00593, allocations: 45.62 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.005964, allocations: 63.39 kB / 0.8216 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.006061, allocations: 110.7 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.006077, allocations: 29.7 kB / 0.8217 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.006116, allocations: 88.08 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.006135, allocations: 7.953 kB / 0.8218 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-05/0.006175, allocations: 17.7 kB / 0.8218 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.006271, allocations: 314.8 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.00629, allocations: 4 kB / 0.8221 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.633e-05/0.006307, allocations: 4 kB / 0.8221 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.627e-05/0.006353, allocations: 24.84 kB / 0.8221 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.006355, allocations: 4 kB / 0.8222 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.218e-05/0.006437, allocations: 53.55 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.006453, allocations: 4 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.006458, allocations: 0 / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.006472, allocations: 3.938 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.00658, allocations: 11.98 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.006583, allocations: 0 / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.006621, allocations: 4 kB / 0.8222 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.006627, allocations: 0 / 0.8222 GB, free: 14.96 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 7.128e-05/0.006698, allocations: 109.8 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.006729, allocations: 15.92 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.006754, allocations: 8 kB / 0.8224 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.006757, allocations: 4 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.006759, allocations: 0 / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.006762, allocations: 336 / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.006901, allocations: 81.77 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.006904, allocations: 4 kB / 0.8224 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001289/0.007033, allocations: 15.92 kB / 0.8225 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.462e-05/0.007048, allocations: 7.984 kB / 0.8225 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.007051, allocations: 3.938 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.007057, allocations: 4 kB / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.007059, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.00706, allocations: 0 / 0.8225 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.007193, allocations: 139.5 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.007208, allocations: 3.938 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.007281, allocations: 4 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.007331, allocations: 11.98 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.007338, allocations: 3.984 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.081e-05/0.007359, allocations: 12.84 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.007359, allocations: 0 / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002196/0.007579, allocations: 12 kB / 0.8226 GB, free: 14.48 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.0001192/0.007698, allocations: 84.36 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.59e-05/0.007794, allocations: 20.84 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.007802, allocations: 7.938 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.134e-05/0.007843, allocations: 20.84 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.008079, allocations: 42.94 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005093/0.008589, allocations: 124.7 kB / 0.8229 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.438e-05/0.008633, allocations: 63.34 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.008676, allocations: 4 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/0.008757, allocations: 63.36 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of SimCode: time 8.62e-07/0.008758, allocations: 0 / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of Templates: time 0.003566/0.01232, allocations: 0.9558 MB / 0.824 GB, free: 13.04 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.184501081705093]