Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.0008986/0.0008986, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009722/0.001871, 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.0006878/0.0006878, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008398/0.001528, 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 1.004/1.004, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09071/1.095, 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.469/2.469, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2565/2.726, allocations: 145.9 MB / 0.817 GB, free: 4.219 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.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intGreEquThr.t|intGreEquThr.u|intGreEquThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.8183 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.322e-05, allocations: 8.984 kB / 0.8183 GB, free: 2.898 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold): time 0.001498/0.001522, allocations: 0.7562 MB / 0.819 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008279/0.002349, allocations: 0.8781 MB / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.531e-05/0.002385, allocations: 4 kB / 0.8199 GB, free: 1.242 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.567e-05/0.00241, allocations: 3.938 kB / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.336e-05/0.002454, allocations: 3.938 kB / 0.8199 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 6.95e-05/0.002523, allocations: 27.84 kB / 0.8199 GB, free: 1.207 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.448e-05/0.002598, allocations: 47.91 kB / 0.82 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.527e-05/0.002673, allocations: 12 kB / 0.82 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.002764, allocations: 35.89 kB / 0.82 GB, free: 1.113 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.169e-05/0.002815, allocations: 15.98 kB / 0.82 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.002837, allocations: 4 kB / 0.8201 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.899e-06/0.002847, allocations: 4 kB / 0.8201 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.002862, allocations: 7.938 kB / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.007e-05/0.002882, allocations: 8 kB / 0.8201 GB, free: 1.074 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.448e-05/0.002966, allocations: 43.77 kB / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.699e-05/0.002983, allocations: 0 / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002984, allocations: 0 / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.002996, allocations: 0 / 0.8201 GB, free: 1.031 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.0003486/0.003345, allocations: 256.5 kB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.003377, allocations: 8.625 kB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.003402, allocations: 4.938 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.125e-05/0.003484, allocations: 125.7 kB / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.0035, allocations: 384 / 0.8205 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.00351, allocations: 4.375 kB / 0.8205 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.003618, allocations: 62.94 kB / 0.8206 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.003626, allocations: 3.938 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.003633, allocations: 0 / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.003638, allocations: 8 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.905e-05/0.003667, allocations: 11.92 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.003896, allocations: 172.3 kB / 0.8207 GB, free: 324 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.222e-05/0.003969, allocations: 30.56 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.965e-05/0.003988, allocations: 12.86 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.004003, allocations: 3.938 kB / 0.8208 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.004026, allocations: 50.42 kB / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.004027, allocations: 0 / 0.8208 GB, free: 204 kB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0001192/0.004146, allocations: 49.69 kB / 0.8209 GB, free: 148 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.929e-05/0.004175, allocations: 51.41 kB / 0.8209 GB, free: 84 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.004246, allocations: 110.8 kB / 0.821 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.004259, allocations: 25.7 kB / 0.8211 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.004292, allocations: 92.08 kB / 0.8211 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.00431, allocations: 7.953 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.00434, allocations: 17.7 kB / 0.8212 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.515e-05/0.004425, allocations: 318.8 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.004443, allocations: 3.984 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.004455, allocations: 7.938 kB / 0.8215 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.00449, allocations: 29.11 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.004493, allocations: 0 / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.477e-05/0.004547, allocations: 45.62 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.004559, allocations: 4 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.004564, allocations: 0 / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.004572, allocations: 4 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.384e-05/0.004646, allocations: 7.984 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.004649, allocations: 0 / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.004676, allocations: 11.98 kB / 0.8216 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.004681, allocations: 4 kB / 0.8216 GB, free: 15.36 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,intGreEquThr.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.528e-05/0.004736, allocations: 113.8 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.004751, allocations: 7.938 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.004773, allocations: 8 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.004774, allocations: 0 / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.004776, allocations: 0 / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.004779, allocations: 3.984 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.429e-05/0.004874, allocations: 81.78 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.004875, allocations: 0 / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.904e-05/0.004904, allocations: 11.98 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.851e-06/0.00491, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.004913, allocations: 7.922 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-06/0.004918, allocations: 7.938 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.004918, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.004919, allocations: 4 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.654e-05/0.005006, allocations: 139.5 kB / 0.822 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.025e-05/0.005016, allocations: 3.938 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.447e-05/0.005051, allocations: 7.984 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.005091, allocations: 11.98 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.005093, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.6e-05/0.005109, allocations: 25.12 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.005109, allocations: 0 / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001108/0.00522, allocations: 8 kB / 0.822 GB, free: 14.88 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 (intGreEquThr.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 6.595e-05/0.005286, allocations: 80.42 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.548e-05/0.005352, allocations: 24.84 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.005356, allocations: 4 kB / 0.8221 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.165e-05/0.005378, allocations: 16.8 kB / 0.8221 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.005509, allocations: 19.92 kB / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.005842, allocations: 136.7 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.052e-05/0.005872, allocations: 55.36 kB / 0.8223 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.005898, allocations: 4 kB / 0.8223 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.005949, allocations: 55.36 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of SimCode: time 3.5e-07/0.005949, allocations: 0 / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of Templates: time 0.002188/0.008138, allocations: 0.9948 MB / 0.8234 GB, free: 13.45 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.312545103020966]