Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 192.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 71.89 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.7592, allocations: 168.7 MB / 1.274 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.001844/0.761, allocations: 0.7181 MB / 1.275 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.762, allocations: 0.8351 MB / 1.276 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.7621, allocations: 4 kB / 1.276 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.7621, allocations: 3.938 kB / 1.276 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.303e-05/0.7622, allocations: 3.938 kB / 1.276 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.7623, allocations: 23.91 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.85e-05/0.7624, allocations: 51.89 kB / 1.276 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.676e-05/0.7625, allocations: 12 kB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.7626, allocations: 23.92 kB / 1.276 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.7626, allocations: 23.91 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.7626, allocations: 4 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.7627, allocations: 7.938 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.7627, allocations: 11.98 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.7627, allocations: 23.86 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.7628, allocations: 42.53 kB / 1.276 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.7628, allocations: 3.938 kB / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7628, allocations: 0 / 1.276 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.7628, allocations: 0 / 1.276 GB, free: 2.715 MB / 0.9669 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.0005633/0.7634, allocations: 363.3 kB / 1.276 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.7634, allocations: 8.031 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.7635, allocations: 8.891 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.7636, allocations: 176.2 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.7636, allocations: 4.375 kB / 1.276 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.7637, allocations: 4.375 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.7639, allocations: 69.59 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7639, allocations: 0 / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.7639, allocations: 4 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7639, allocations: 0 / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002316/0.7641, allocations: 51.94 kB / 1.276 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.7646, allocations: 292.7 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.7648, allocations: 62.61 kB / 1.277 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.7649, allocations: 28.84 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.7649, allocations: 0 / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.765, allocations: 34.56 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.765, allocations: 0 / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000464/0.7654, allocations: 105.6 kB / 1.277 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.7655, allocations: 63.33 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.7656, allocations: 109.8 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.7656, allocations: 29.7 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.7656, allocations: 88.16 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.7657, allocations: 15.89 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.7657, allocations: 17.7 kB / 1.277 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7659, allocations: 318.8 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.766, allocations: 27.97 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.979e-05/0.7661, allocations: 19.98 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.7663, allocations: 52.81 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7663, allocations: 0 / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002647/0.7666, allocations: 93.81 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.7666, allocations: 4 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.7666, allocations: 4 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.7666, allocations: 48 / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.7667, allocations: 19.97 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.7667, allocations: 0 / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.7668, allocations: 7.984 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.7668, allocations: 4 kB / 1.278 GB, free: 456 kB / 0.9669 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 9.162e-05/0.7669, allocations: 115.3 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.7669, allocations: 4 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.524e-05/0.7669, allocations: 15.84 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.7669, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.767, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.767, allocations: 0 / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.7672, allocations: 181.5 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.7672, allocations: 0 / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.928e-05/0.7673, allocations: 15.92 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7673, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.7673, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.7673, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.7673, allocations: 7.984 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.7676, allocations: 179.5 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.7677, allocations: 88.98 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.7677, allocations: 0 / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.7678, allocations: 11.98 kB / 1.278 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.7678, allocations: 8 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.7678, allocations: 11.98 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.7679, allocations: 79.28 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7679, allocations: 0 / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002359/0.7681, allocations: 15.94 kB / 1.279 GB, free: 15.63 MB / 0.9825 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 0.0001175/0.7682, allocations: 99.72 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.7685, allocations: 55.94 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.7685, allocations: 4 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.7686, allocations: 31.97 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.7689, allocations: 4 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.7693, allocations: 145.3 kB / 1.279 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.7696, allocations: 0.6807 MB / 1.279 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.307e-05/0.7696, allocations: 8 kB / 1.279 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.7697, allocations: 15.44 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.7697, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of Templates: time 0.003551/0.7732, allocations: 0.9119 MB / 1.28 GB, free: 13.62 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.491803132928908]