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.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.002085/0.002085, 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.002598/0.002598, allocations: 210 kB / 22.25 MB, free: 4.855 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.64/1.64, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.948/2.948, allocations: 475.9 MB / 0.7699 GB, free: 4.688 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.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: 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.002129/0.002129, allocations: 65.72 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4191, allocations: 170 MB / 1.283 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002434/0.4216, allocations: 0.7937 MB / 1.284 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.423, allocations: 0.9056 MB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.4231, allocations: 4 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.4233, allocations: 15.8 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.177e-05/0.4233, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.4236, allocations: 43.89 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001611/0.4237, allocations: 67.78 kB / 1.285 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.4239, allocations: 19.98 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.424, allocations: 47.78 kB / 1.285 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.351e-05/0.4241, allocations: 27.84 kB / 1.285 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.4242, allocations: 8 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/0.4242, allocations: 8 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.4242, allocations: 11.94 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.4243, allocations: 23.86 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.4245, allocations: 91.48 kB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4245, allocations: 0 / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4245, allocations: 0 / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.4245, allocations: 0 / 1.285 GB, free: 9.746 MB / 0.9825 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.0006138/0.4251, allocations: 320.1 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.4251, allocations: 8.031 kB / 1.285 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.4253, allocations: 16.89 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.4256, allocations: 142.3 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4256, allocations: 8.375 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.4257, allocations: 384 / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.4258, allocations: 66.16 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4259, allocations: 4.188 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.4259, allocations: 11.94 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.4259, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.426, allocations: 27.98 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.4265, allocations: 260.2 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.4267, allocations: 50.55 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.4268, allocations: 16.92 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.4268, allocations: 4 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.4268, allocations: 30.66 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.4268, allocations: 3.938 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002738/0.4271, allocations: 73.7 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.4271, allocations: 55.41 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.4273, allocations: 131.9 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.4273, allocations: 29.7 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.785e-05/0.4274, allocations: 104.1 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.4274, allocations: 3.953 kB / 1.286 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.4274, allocations: 21.72 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.4276, allocations: 318.8 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.335e-05/0.4276, allocations: 16 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.005e-05/0.4277, allocations: 19.98 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.521e-05/0.4278, allocations: 28.78 kB / 1.287 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.4278, allocations: 7.938 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001566/0.4279, allocations: 73.94 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.4279, allocations: 4 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.4279, allocations: 0 / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.428, allocations: 4 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.776e-05/0.428, allocations: 4 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.428, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/0.4281, allocations: 11.98 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.4281, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 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.0001069/0.4282, allocations: 122.4 kB / 1.287 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.4283, allocations: 7.953 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.298e-05/0.4283, allocations: 12.28 kB / 1.287 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4283, allocations: 4 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.4283, allocations: 4 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4283, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.4285, allocations: 129.2 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4285, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.4285, allocations: 4 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4285, allocations: 0 / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.4285, allocations: 3.984 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4285, allocations: 0 / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4286, allocations: 0 / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.4288, allocations: 161.2 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.4288, allocations: 19.89 kB / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4288, allocations: 0 / 1.287 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4289, allocations: 15.92 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.642e-05/0.4289, allocations: 7.984 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.429, allocations: 0 / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.017e-05/0.429, allocations: 105.9 kB / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.429, allocations: 0 / 1.287 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002297/0.4293, allocations: 12 kB / 1.287 GB, free: 7.082 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.0001431/0.4294, allocations: 103.2 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.4296, allocations: 31.98 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4296, allocations: 0 / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.979e-05/0.4296, allocations: 19.98 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.4299, allocations: 11.84 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004557/0.4303, allocations: 170.8 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.538e-05/0.4304, allocations: 79.19 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.4305, allocations: 7.984 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.4305, allocations: 11.44 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.4305, allocations: 0 / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of Templates: time 0.003958/0.4345, allocations: 0.9532 MB / 1.289 GB, free: 5.668 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.821782356128097]