Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001916/0.001916, allocations: 81.34 kB / 19.18 MB, free: 2.531 MB / 14.72 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.002284/0.002284, allocations: 171.5 kB / 22.47 MB, free: 5.352 MB / 14.72 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.588/1.588, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.845/2.845, allocations: 359 MB / 0.6037 GB, free: 15 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.951 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.014e-05/3.203e-05, allocations: 6.219 kB / 0.951 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001764/0.001796, allocations: 0.7097 MB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.003141, allocations: 0.8587 MB / 0.9525 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.003186, allocations: 0 / 0.9525 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.419e-05/0.00322, allocations: 3.938 kB / 0.9525 GB, free: 9.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.734e-05/0.003307, allocations: 3.938 kB / 0.9525 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.003482, allocations: 27.95 kB / 0.9525 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.483e-05/0.003577, allocations: 43.86 kB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.003695, allocations: 15.92 kB / 0.9526 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.335e-05/0.003789, allocations: 27.97 kB / 0.9526 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.003861, allocations: 23.91 kB / 0.9526 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.003886, allocations: 4 kB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.307e-05/0.003899, allocations: 4 kB / 0.9527 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.248e-05/0.003921, allocations: 11.94 kB / 0.9527 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.093e-05/0.003962, allocations: 19.91 kB / 0.9527 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.004083, allocations: 43.92 kB / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.004086, allocations: 0 / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.51e-07/0.004087, allocations: 0 / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.004091, allocations: 0 / 0.9527 GB, free: 9.738 MB / 0.8575 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.0005739/0.004665, allocations: 282.2 kB / 0.953 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.004706, allocations: 12.03 kB / 0.953 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.004745, allocations: 4.875 kB / 0.953 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.004908, allocations: 129.7 kB / 0.9531 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.004928, allocations: 4.375 kB / 0.9531 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.004942, allocations: 384 / 0.9531 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.005169, allocations: 66.22 kB / 0.9532 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.005184, allocations: 7.875 kB / 0.9532 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.005196, allocations: 0 / 0.9532 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.0052, allocations: 4 kB / 0.9532 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.005435, allocations: 51.95 kB / 0.9533 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.005891, allocations: 220.5 kB / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.006138, allocations: 66.42 kB / 0.9535 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.006256, allocations: 32.91 kB / 0.9536 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.006276, allocations: 0 / 0.9536 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.006308, allocations: 30.56 kB / 0.9536 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006309, allocations: 4 kB / 0.9536 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004971/0.006806, allocations: 109.6 kB / 0.9537 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.006859, allocations: 55.34 kB / 0.9538 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.006965, allocations: 109.8 kB / 0.9539 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.006988, allocations: 25.7 kB / 0.9539 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.007045, allocations: 84.14 kB / 0.954 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.007075, allocations: 27.83 kB / 0.954 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.007118, allocations: 17.72 kB / 0.954 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.007283, allocations: 322.8 kB / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/0.007391, allocations: 19.98 kB / 0.9543 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.007493, allocations: 27.97 kB / 0.9544 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.007697, allocations: 48.81 kB / 0.9544 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.007701, allocations: 3.938 kB / 0.9544 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002662/0.007967, allocations: 85.66 kB / 0.9545 GB, free: 7.75 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.007984, allocations: 4 kB / 0.9545 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007989, allocations: 0 / 0.9545 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.008004, allocations: 336 / 0.9545 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.008132, allocations: 15.92 kB / 0.9545 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.00814, allocations: 7.984 kB / 0.9545 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.771e-05/0.008218, allocations: 11.89 kB / 0.9545 GB, free: 7.711 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.008227, allocations: 3.984 kB / 0.9545 GB, free: 7.707 MB / 0.8575 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 9.241e-05/0.008319, allocations: 121.8 kB / 0.9547 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.008345, allocations: 4 kB / 0.9547 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.008371, allocations: 8 kB / 0.9547 GB, free: 7.562 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.008375, allocations: 4 kB / 0.9547 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008378, allocations: 0 / 0.9547 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.008381, allocations: 0 / 0.9547 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.008541, allocations: 113.3 kB / 0.9548 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.008544, allocations: 3.938 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.284e-05/0.008637, allocations: 11.98 kB / 0.9548 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.008642, allocations: 4 kB / 0.9548 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.008652, allocations: 3.984 kB / 0.9548 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.008653, allocations: 0 / 0.9548 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.008654, allocations: 4 kB / 0.9548 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.008972, allocations: 183.4 kB / 0.955 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.008985, allocations: 7.938 kB / 0.955 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.009, allocations: 0 / 0.955 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.009109, allocations: 7.984 kB / 0.955 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.009174, allocations: 11.98 kB / 0.955 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.009179, allocations: 0 / 0.955 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.009237, allocations: 95.56 kB / 0.9551 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.009237, allocations: 0 / 0.9551 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002228/0.00946, allocations: 12 kB / 0.9551 GB, free: 7.062 MB / 0.8575 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.0001296/0.00959, allocations: 99.25 kB / 0.9552 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003091/0.009899, allocations: 51.89 kB / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009901, allocations: 0 / 0.9553 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.01002, allocations: 35.91 kB / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.01032, allocations: 7.938 kB / 0.9553 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.01068, allocations: 128.9 kB / 0.9554 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.122e-05/0.01076, allocations: 67.34 kB / 0.9555 GB, free: 6.625 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.985e-05/0.0108, allocations: 4 kB / 0.9555 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.01085, allocations: 16.48 kB / 0.9555 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.01085, allocations: 0 / 0.9555 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of Templates: time 0.003791/0.01464, allocations: 0.9573 MB / 0.9564 GB, free: 5.664 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.265678264200687]