Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.001599/0.001599, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002006/0.002006, allocations: 213 kB / 23 MB, free: 4.969 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.535/1.535, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.307/3.307, allocations: 0.49 GB / 0.7959 GB, free: 35.64 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 66.92 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4256, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002364/0.4279, allocations: 0.8069 MB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.4292, allocations: 0.9017 MB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.911e-05/0.4293, allocations: 7.938 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.4295, allocations: 11.86 kB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.4295, allocations: 15.86 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.4298, allocations: 35.91 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002011/0.43, allocations: 67.78 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.4301, allocations: 23.98 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.4302, allocations: 43.78 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.043e-05/0.4303, allocations: 23.86 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.4303, allocations: 8 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.538e-05/0.4304, allocations: 8 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.061e-05/0.4304, allocations: 15.92 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.484e-05/0.4304, allocations: 27.84 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.4306, allocations: 87.56 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4306, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4306, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.4306, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 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.0006045/0.4313, allocations: 314 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4313, allocations: 8.031 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001857/0.4315, allocations: 20.88 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003681/0.4318, allocations: 147.7 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.4319, allocations: 4.375 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.4319, allocations: 8.312 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.432, allocations: 62.22 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4321, allocations: 192 / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.4321, allocations: 7.938 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.4321, allocations: 4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.4322, allocations: 35.91 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.4327, allocations: 260.3 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.4329, allocations: 50.59 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.4329, allocations: 17 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.4329, allocations: 4 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.433, allocations: 30.56 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.433, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002797/0.4332, allocations: 73.56 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.4333, allocations: 55.41 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.4334, allocations: 143.6 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.4334, allocations: 25.7 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.4335, allocations: 96.09 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.4335, allocations: 11.95 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.4336, allocations: 21.7 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4338, allocations: 314.8 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.132e-05/0.4338, allocations: 15.98 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.708e-05/0.4339, allocations: 15.98 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.526e-05/0.434, allocations: 32.84 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.434, allocations: 4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001476/0.4341, allocations: 77.5 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.4341, allocations: 4 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4341, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4341, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.4342, allocations: 4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.4342, allocations: 3.984 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.4343, allocations: 11.98 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4343, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 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.0001145/0.4344, allocations: 121.8 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.4345, allocations: 7.953 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.4345, allocations: 12.33 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4345, allocations: 0 / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4345, allocations: 7.938 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.45e-05/0.4345, allocations: 7.953 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.4345, allocations: 0 / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.4347, allocations: 19.92 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.4347, allocations: 8.312 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002394/0.4349, allocations: 152.9 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002335/0.4352, allocations: 230.8 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.067e-05/0.4352, allocations: 15.98 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.079e-05/0.4353, allocations: 105 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of Backend: time 4.21e-07/0.4353, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004568/0.4358, allocations: 110.2 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006236/0.4364, allocations: 0.6168 MB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of Templates: time 0.00429/0.4407, allocations: 1.116 MB / 1.333 GB, free: 10.22 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.36456121000083]