Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001881/0.001881, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001853/0.001853, allocations: 199.9 kB / 22.17 MB, free: 5.207 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.456/1.456, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.878/2.878, allocations: 476.7 MB / 0.7645 GB, free: 10.09 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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.89 kB / 1.109 GB, free: 6.449 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.831/0.833, allocations: 168.7 MB / 1.274 GB, free: 4.344 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002192/0.8352, allocations: 0.8172 MB / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.8364, allocations: 0.878 MB / 1.276 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.8365, allocations: 11.88 kB / 1.276 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.8366, allocations: 11.86 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.8366, allocations: 7.875 kB / 1.276 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.8368, allocations: 31.91 kB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.8369, allocations: 75.78 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.8371, allocations: 23.97 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.84e-05/0.8371, allocations: 31.86 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.497e-05/0.8372, allocations: 27.84 kB / 1.276 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.106e-05/0.8372, allocations: 8 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.252e-05/0.8373, allocations: 4 kB / 1.276 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.8373, allocations: 11.94 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.8373, allocations: 35.78 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.8374, allocations: 82.3 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.8375, allocations: 4 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.143e-06/0.8375, allocations: 0 / 1.276 GB, free: 2.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8375, allocations: 0 / 1.276 GB, free: 2.277 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005772/0.838, allocations: 397.4 kB / 1.276 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.8381, allocations: 12.03 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.249e-05/0.8381, allocations: 8.891 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.8384, allocations: 208.2 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.8384, allocations: 384 / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.8384, allocations: 4.375 kB / 1.277 GB, free: 1.574 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.8386, allocations: 66.17 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.8386, allocations: 192 / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.8386, allocations: 7.875 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.8386, allocations: 7.984 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.8387, allocations: 27.98 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.8392, allocations: 328.6 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.8394, allocations: 42.55 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.8395, allocations: 21 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.8395, allocations: 0 / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.8395, allocations: 38.59 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.8395, allocations: 0 / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002517/0.8398, allocations: 73.67 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.8398, allocations: 51.41 kB / 1.277 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.8399, allocations: 135.5 kB / 1.277 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.84, allocations: 29.7 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.827e-05/0.84, allocations: 96.12 kB / 1.278 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.8401, allocations: 7.953 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.8401, allocations: 17.72 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002292/0.8403, allocations: 322.8 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.647e-05/0.8404, allocations: 15.98 kB / 1.278 GB, free: 188 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.528e-05/0.8404, allocations: 12 kB / 1.278 GB, free: 176 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.12e-05/0.8405, allocations: 36.77 kB / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.8405, allocations: 0 / 1.278 GB, free: 136 kB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000153/0.8407, allocations: 65.64 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.8407, allocations: 10.19 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.8407, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.8407, allocations: 0 / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.495e-05/0.8408, allocations: 7.984 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.8408, allocations: 0 / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.385e-05/0.8409, allocations: 15.98 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.8409, allocations: 3.938 kB / 1.278 GB, free: 28 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: 3 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 0.0001098/0.841, allocations: 126.2 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.841, allocations: 7.953 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.841, allocations: 8.25 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.841, allocations: 336 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.841, allocations: 0 / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.841, allocations: 3.984 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.8413, allocations: 193.5 kB / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.8413, allocations: 0 / 1.278 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.8413, allocations: 8 kB / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.8413, allocations: 0 / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.8413, allocations: 0 / 1.278 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.8413, allocations: 4 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8413, allocations: 3.938 kB / 1.278 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.8415, allocations: 159.4 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.8416, allocations: 89.05 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.8416, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.8417, allocations: 7.984 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.8417, allocations: 19.92 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.8417, allocations: 4 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.8418, allocations: 99.27 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8418, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002338/0.8421, allocations: 15.88 kB / 1.279 GB, free: 15.2 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001346/0.8422, allocations: 99.25 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.8424, allocations: 35.97 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8424, allocations: 4 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.891e-05/0.8424, allocations: 12 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.8427, allocations: 19.91 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.8431, allocations: 190.4 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.8436, allocations: 0.6885 MB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.411e-05/0.8436, allocations: 8 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.8436, allocations: 7.438 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.8436, allocations: 4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.003552/0.8472, allocations: 0.8624 MB / 1.281 GB, free: 13.22 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.698230798821896]