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.001107/0.001107, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001582/0.002689, 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.001154/0.001154, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002494, 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.9792/0.9792, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09369/1.073, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.434/2.434, allocations: 446.7 MB / 0.6745 GB, free: 6.238 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2591/2.693, allocations: 145.9 MB / 0.817 GB, free: 4.23 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 1.423e-06/1.423e-06, allocations: 0 / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.428e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001551/0.001575, allocations: 0.7641 MB / 0.8191 GB, free: 2.141 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0008536/0.002429, allocations: 0.8781 MB / 0.8199 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.292e-05/0.002462, allocations: 0 / 0.8199 GB, free: 1.25 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.002488, allocations: 3.938 kB / 0.8199 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.002532, allocations: 7.938 kB / 0.8199 GB, free: 1.238 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.182e-05/0.002614, allocations: 35.83 kB / 0.82 GB, free: 1.203 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.002692, allocations: 39.92 kB / 0.82 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.002789, allocations: 11.98 kB / 0.82 GB, free: 1.152 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.002894, allocations: 31.91 kB / 0.82 GB, free: 1.121 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.002953, allocations: 19.97 kB / 0.8201 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.002978, allocations: 4 kB / 0.8201 GB, free: 1.098 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/0.002988, allocations: 4 kB / 0.8201 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.00301, allocations: 11.94 kB / 0.8201 GB, free: 1.082 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.305e-05/0.003033, allocations: 4 kB / 0.8201 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.678e-05/0.00313, allocations: 35.86 kB / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.003144, allocations: 0 / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003144, allocations: 0 / 0.8201 GB, free: 1.043 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.00316, allocations: 0 / 0.8201 GB, free: 1.043 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.0004261/0.003586, allocations: 260.5 kB / 0.8204 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.003622, allocations: 8.625 kB / 0.8204 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.236e-05/0.003655, allocations: 8.875 kB / 0.8204 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.484e-05/0.00375, allocations: 117.7 kB / 0.8205 GB, free: 0.6094 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.003776, allocations: 8.375 kB / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.003784, allocations: 384 / 0.8205 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.003904, allocations: 70.92 kB / 0.8206 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.003912, allocations: 3.938 kB / 0.8206 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.00392, allocations: 7.938 kB / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.003924, allocations: 0 / 0.8206 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.985e-05/0.003953, allocations: 11.98 kB / 0.8206 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/0.004194, allocations: 168.2 kB / 0.8207 GB, free: 328 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.004267, allocations: 34.55 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.004286, allocations: 12.86 kB / 0.8208 GB, free: 268 kB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.0043, allocations: 11.94 kB / 0.8208 GB, free: 256 kB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.004319, allocations: 30.56 kB / 0.8208 GB, free: 216 kB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.00432, allocations: 0 / 0.8208 GB, free: 216 kB / 0.7917 GB Notification: Performance of matching and sorting (n=4): time 0.0001152/0.004435, allocations: 53.62 kB / 0.8209 GB, free: 156 kB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.004463, allocations: 55.39 kB / 0.8209 GB, free: 88 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.362e-05/0.004536, allocations: 106.8 kB / 0.821 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.004546, allocations: 25.7 kB / 0.8211 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.294e-05/0.004579, allocations: 96.06 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.004595, allocations: 3.953 kB / 0.8212 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.941e-05/0.004625, allocations: 17.72 kB / 0.8212 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.004717, allocations: 326.8 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.19e-05/0.004729, allocations: 4 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.024e-05/0.004739, allocations: 4 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.266e-05/0.004772, allocations: 20.78 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.004774, allocations: 0 / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.313e-05/0.004827, allocations: 49.61 kB / 0.8216 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.004842, allocations: 8 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.004846, allocations: 0 / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.004853, allocations: 0 / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/0.004933, allocations: 11.98 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.004937, allocations: 4.312 kB / 0.8216 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.004962, allocations: 4 kB / 0.8216 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-06/0.004967, 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,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.673e-05/0.005023, allocations: 109.8 kB / 0.8217 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.00504, allocations: 11.92 kB / 0.8217 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.005062, allocations: 8 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005064, allocations: 0 / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.005066, allocations: 3.938 kB / 0.8217 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.005068, allocations: 7.938 kB / 0.8217 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.591e-05/0.005154, allocations: 81.77 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.005156, allocations: 4 kB / 0.8218 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.181e-05/0.005188, allocations: 11.98 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.005193, allocations: 0 / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.005195, allocations: 3.938 kB / 0.8218 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.005201, allocations: 8 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.005203, allocations: 3.984 kB / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.005204, allocations: 0 / 0.8218 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.154e-05/0.005285, allocations: 135.9 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.005296, allocations: 11.94 kB / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.005331, allocations: 0 / 0.822 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.005373, allocations: 20.02 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.005377, allocations: 3.984 kB / 0.822 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.151e-05/0.005388, allocations: 16.8 kB / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.005388, allocations: 0 / 0.822 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001123/0.005501, allocations: 4 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 (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 6.559e-05/0.005566, allocations: 78.67 kB / 0.8221 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.476e-05/0.005631, allocations: 32.83 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.005635, allocations: 4 kB / 0.8221 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.408e-05/0.005659, 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.0001358/0.005795, allocations: 12 kB / 0.8222 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.006203, allocations: 132.6 kB / 0.8223 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.006239, allocations: 59.34 kB / 0.8223 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.857e-05/0.006268, 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.614e-05/0.006324, allocations: 59.38 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.006324, allocations: 0 / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.002468/0.008793, allocations: 0.9949 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.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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.129581366665661]