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.00176/0.00176, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.002142/0.002142, allocations: 164 kB / 22.45 MB, free: 5.375 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.623/1.623, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.727/2.727, allocations: 359 MB / 0.6037 GB, free: 14.94 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.951 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.176e-05, allocations: 6.219 kB / 0.951 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002988/0.003019, allocations: 0.799 MB / 0.9518 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001887/0.004907, allocations: 0.9133 MB / 0.9527 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.005011, allocations: 3.938 kB / 0.9527 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.005154, allocations: 11.81 kB / 0.9527 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.61e-05/0.00522, allocations: 19.86 kB / 0.9528 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.005471, allocations: 19.98 kB / 0.9528 GB, free: 9.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.005659, allocations: 79.77 kB / 0.9528 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.005825, allocations: 23.97 kB / 0.9529 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002133/0.006039, allocations: 51.72 kB / 0.9529 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.006125, allocations: 19.97 kB / 0.9529 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.006152, allocations: 4 kB / 0.9529 GB, free: 9.504 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.962e-05/0.006211, allocations: 12 kB / 0.953 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.006237, allocations: 15.92 kB / 0.953 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.634e-05/0.006284, allocations: 23.92 kB / 0.953 GB, free: 9.453 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.006498, allocations: 83.72 kB / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006501, allocations: 0 / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.042e-06/0.006502, allocations: 0 / 0.9531 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.006507, allocations: 0 / 0.9531 GB, free: 9.371 MB / 0.8575 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.0007821/0.007289, allocations: 313.9 kB / 0.9534 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/0.007341, allocations: 19.95 kB / 0.9534 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.007554, allocations: 12.89 kB / 0.9534 GB, free: 9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003458/0.0079, allocations: 141.6 kB / 0.9535 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.007915, allocations: 8.375 kB / 0.9535 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.007935, allocations: 384 / 0.9535 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.008162, allocations: 66.23 kB / 0.9536 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.008174, allocations: 4.125 kB / 0.9536 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.008188, allocations: 384 / 0.9536 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.008193, allocations: 384 / 0.9536 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.008371, allocations: 43.84 kB / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006473/0.009018, allocations: 248.5 kB / 0.9539 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.009279, allocations: 54.58 kB / 0.9539 GB, free: 8.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.809e-05/0.009367, allocations: 20.86 kB / 0.954 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.009382, allocations: 0 / 0.954 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.474e-05/0.009427, allocations: 30.56 kB / 0.954 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.009428, allocations: 0 / 0.954 GB, free: 8.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004092/0.009837, allocations: 77.7 kB / 0.9541 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.00991, allocations: 59.34 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.01009, allocations: 132.3 kB / 0.9543 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.01013, allocations: 33.7 kB / 0.9543 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.635e-05/0.01022, allocations: 96.09 kB / 0.9544 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.01025, allocations: 11.88 kB / 0.9544 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/0.01031, allocations: 17.72 kB / 0.9544 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.01052, allocations: 318.8 kB / 0.9547 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.066e-05/0.01061, allocations: 16 kB / 0.9547 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.01069, allocations: 15.98 kB / 0.9547 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.01084, allocations: 28.84 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.01084, allocations: 0 / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002485/0.01109, allocations: 77.5 kB / 0.9548 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.0111, allocations: 4 kB / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.01111, allocations: 0 / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.01113, allocations: 336 / 0.9548 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.579e-05/0.01122, allocations: 8 kB / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.01122, allocations: 0 / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.01134, allocations: 11.98 kB / 0.9549 GB, free: 7.363 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.01135, allocations: 0 / 0.9549 GB, free: 7.363 MB / 0.8575 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.0001344/0.01148, allocations: 121.8 kB / 0.955 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.01154, allocations: 19.86 kB / 0.955 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.01158, allocations: 12.34 kB / 0.955 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01159, allocations: 0 / 0.955 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.01159, allocations: 0 / 0.955 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01159, allocations: 0 / 0.955 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.01184, allocations: 125.2 kB / 0.9551 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01184, allocations: 0 / 0.9551 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.905e-05/0.0119, allocations: 7.938 kB / 0.9551 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.0119, allocations: 4 kB / 0.9551 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01191, allocations: 4 kB / 0.9551 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01192, allocations: 0 / 0.9551 GB, free: 7.031 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.01192, allocations: 3.984 kB / 0.9551 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002928/0.01221, allocations: 160.1 kB / 0.9553 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.055e-05/0.01223, allocations: 7.891 kB / 0.9553 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.01226, allocations: 4 kB / 0.9553 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.01243, allocations: 11.98 kB / 0.9553 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.0125, allocations: 7.984 kB / 0.9553 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.01251, allocations: 0 / 0.9553 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001196/0.01263, allocations: 107.3 kB / 0.9554 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.01263, allocations: 0 / 0.9554 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004208/0.01305, allocations: 8 kB / 0.9554 GB, free: 6.711 MB / 0.8575 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.0001769/0.01323, allocations: 99.23 kB / 0.9555 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.01345, allocations: 35.92 kB / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01345, allocations: 0 / 0.9556 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.01354, allocations: 19.98 kB / 0.9556 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.014, allocations: 8 kB / 0.9556 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.01451, allocations: 164.8 kB / 0.9558 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.01462, allocations: 75.19 kB / 0.9558 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.111e-05/0.01467, allocations: 4 kB / 0.9558 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.86e-05/0.01473, allocations: 16.48 kB / 0.9558 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.01473, allocations: 4 kB / 0.9559 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of Templates: time 0.005339/0.02007, allocations: 0.8992 MB / 0.9567 GB, free: 5.359 MB / 0.8575 GB " [Timeout remaining time 300] 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: 8.213346764445305]