Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001785/0.001785, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.002296/0.002296, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 8.07 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.804/2.804, allocations: 476.8 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 177] 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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [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.002014/0.002014, allocations: 76.08 kB / 1.119 GB, free: 40.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.383, allocations: 169.9 MB / 1.285 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002312/0.3854, allocations: 0.8819 MB / 1.286 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3867, allocations: 0.929 MB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.3869, allocations: 4 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.387, allocations: 15.8 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.387, allocations: 15.86 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.3873, allocations: 43.89 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.3874, allocations: 103.7 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3876, allocations: 39.86 kB / 1.287 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.3877, allocations: 47.83 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.711e-05/0.3878, allocations: 39.78 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.3878, allocations: 8 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.871e-05/0.3879, allocations: 12 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.652e-05/0.3879, allocations: 23.86 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.388, allocations: 39.78 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.3882, allocations: 103.6 kB / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3882, allocations: 0 / 1.287 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3882, allocations: 4 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.3882, allocations: 4 kB / 1.287 GB, free: 8.945 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006806/0.3889, allocations: 330 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3889, allocations: 8.031 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.3891, allocations: 24.83 kB / 1.287 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.3893, allocations: 148.8 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3894, allocations: 12.38 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.3894, allocations: 4.375 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002529/0.3896, allocations: 86.2 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.3897, allocations: 4.125 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3897, allocations: 3.938 kB / 1.287 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3897, allocations: 4 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002389/0.3899, allocations: 71.94 kB / 1.288 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005541/0.3905, allocations: 329.4 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.3907, allocations: 62.53 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3908, allocations: 40.92 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.3908, allocations: 3.938 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.3909, allocations: 30.56 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3909, allocations: 0 / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000424/0.3913, allocations: 117.6 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3913, allocations: 55.41 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.3914, allocations: 133.8 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.3915, allocations: 33.7 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.3915, allocations: 104 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.3916, allocations: 7.906 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.293e-05/0.3916, allocations: 21.7 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3917, allocations: 322.8 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3918, allocations: 27.98 kB / 1.289 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.392, allocations: 35.91 kB / 1.289 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001982/0.3921, allocations: 52.81 kB / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3921, allocations: 128 / 1.289 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002621/0.3924, allocations: 105.6 kB / 1.289 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3924, allocations: 11.94 kB / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3924, allocations: 0 / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.3924, allocations: 0 / 1.289 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.3926, allocations: 11.98 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.3926, allocations: 3.938 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3927, allocations: 19.97 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3927, allocations: 3.938 kB / 1.289 GB, free: 6.574 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 (5): * Single equations (assignments): 5 * 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.0001088/0.3928, allocations: 121.8 kB / 1.289 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.3928, allocations: 3.953 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.3928, allocations: 16.33 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3928, allocations: 0 / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3928, allocations: 3.938 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.3929, allocations: 0 / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.3931, allocations: 160.6 kB / 1.289 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3931, allocations: 4 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.3931, allocations: 11.98 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3931, allocations: 8 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3932, allocations: 0 / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3932, allocations: 0 / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3932, allocations: 3.938 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.3935, allocations: 187.4 kB / 1.29 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.723e-05/0.3935, allocations: 11.95 kB / 1.29 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.3935, allocations: 7.984 kB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.3936, allocations: 11.98 kB / 1.29 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.242e-05/0.3937, allocations: 15.92 kB / 1.29 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.3937, allocations: 7.984 kB / 1.29 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.161e-05/0.3938, allocations: 101.8 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3938, allocations: 0 / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002288/0.394, allocations: 19.94 kB / 1.29 GB, free: 5.82 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 (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.0001459/0.3942, allocations: 95.25 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002732/0.3944, allocations: 63.94 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3944, allocations: 4 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3946, allocations: 32.14 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002645/0.3948, allocations: 20.19 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.3953, allocations: 215.2 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3956, allocations: 0.6925 MB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.502e-05/0.3957, allocations: 11.42 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3957, allocations: 4 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of Templates: time 0.002824/0.3985, allocations: 1.129 MB / 1.292 GB, free: 3.5 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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: 11.201554047001991]