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.001593/0.001593, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001976/0.001976, allocations: 212 kB / 22.25 MB, free: 4.859 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.597/1.597, allocations: 230.6 MB / 256 MB, free: 7.809 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.514/3.514, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 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.002101/0.002101, allocations: 65.62 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4275/0.4296, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002734/0.4324, allocations: 0.7989 MB / 1.326 GB, free: 1.074 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.4339, allocations: 0.9055 MB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.434, allocations: 0 / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001752/0.4342, allocations: 19.81 kB / 1.327 GB, free: 140 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.4343, allocations: 7.922 kB / 1.327 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.4345, allocations: 23.92 kB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.4347, allocations: 87.64 kB / 1.327 GB, free: 20 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.4348, allocations: 24.03 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.435, allocations: 35.8 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.4351, allocations: 23.86 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.4351, allocations: 8 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.769e-05/0.4352, allocations: 15.98 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.365e-05/0.4352, allocations: 15.86 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.1e-05/0.4352, allocations: 23.88 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.4354, allocations: 87.55 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4354, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4354, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.4354, allocations: 0 / 1.328 GB, free: 15.79 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.0006502/0.4361, allocations: 314 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.4361, allocations: 8.031 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.4363, allocations: 24.88 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.4366, allocations: 148.5 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.4366, allocations: 384 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.4367, allocations: 8.375 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.4368, allocations: 62.17 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4368, allocations: 192 / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.4369, allocations: 7.938 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.4369, allocations: 4 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.437, allocations: 31.97 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.4376, allocations: 264.3 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.4377, allocations: 42.62 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.4378, allocations: 16.94 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.4378, allocations: 12.03 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.4378, allocations: 34.56 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.4378, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002932/0.4381, allocations: 69.62 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4382, allocations: 55.41 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.4383, allocations: 129.8 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.4384, allocations: 25.7 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.4385, allocations: 100.1 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.4385, allocations: 7.953 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.4385, allocations: 21.7 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002327/0.4388, allocations: 326.7 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.4388, allocations: 15.98 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.4389, allocations: 19.92 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.4389, allocations: 28.84 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4389, allocations: 0 / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/0.4391, allocations: 69.64 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.4391, allocations: 7.938 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4391, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4391, allocations: 4 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.4392, allocations: 7.984 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.4392, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.4393, allocations: 11.98 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.4393, allocations: 0 / 1.329 GB, free: 13.77 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.0001244/0.4394, allocations: 121.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.4394, allocations: 7.953 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.785e-05/0.4395, allocations: 8.344 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4395, allocations: 3.984 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4395, allocations: 8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4395, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.4397, allocations: 121.2 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4397, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.4397, allocations: 3.984 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.4397, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.4397, allocations: 4 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4397, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4397, allocations: 0 / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000191/0.4399, allocations: 159.8 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.4399, allocations: 19.83 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.4399, allocations: 48 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.4401, allocations: 19.97 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.4401, allocations: 3.984 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.4401, allocations: 7.984 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.986e-05/0.4402, allocations: 104.6 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4402, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002203/0.4404, allocations: 8 kB / 1.33 GB, free: 13.11 MB / 1.029 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.000168/0.4406, allocations: 103.2 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.4408, allocations: 39.97 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4408, allocations: 0 / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.502e-05/0.4408, allocations: 15.94 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.4411, allocations: 21.94 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.4415, allocations: 166.7 kB / 1.33 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.753e-05/0.4416, allocations: 79.33 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.044e-05/0.4416, allocations: 7.938 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.4417, allocations: 15.44 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4417, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of Templates: time 0.004026/0.4457, allocations: 0.9454 MB / 1.331 GB, free: 11.69 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/jenkins/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.900862019509077]