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.001388/0.001388, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001599/0.001599, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.769/2.769, allocations: 476 MB / 0.7707 GB, free: 4.723 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.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.002138/0.002138, allocations: 70.12 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3386, allocations: 170 MB / 1.284 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002056/0.3406, allocations: 0.7959 MB / 1.285 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001233/0.3419, allocations: 0.9017 MB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.342, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.3421, allocations: 15.86 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.942e-05/0.3421, allocations: 11.86 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.3423, allocations: 35.91 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3425, allocations: 71.78 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3426, allocations: 23.98 kB / 1.286 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3427, allocations: 39.78 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.383e-05/0.3428, allocations: 27.86 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.3428, allocations: 8 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.351e-05/0.3429, allocations: 11.98 kB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.071e-05/0.3429, allocations: 11.94 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.3429, allocations: 27.84 kB / 1.286 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.3431, allocations: 83.56 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3431, allocations: 0 / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3431, allocations: 3.984 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.3431, allocations: 3.938 kB / 1.286 GB, free: 9.723 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.0005818/0.3437, allocations: 314 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3437, allocations: 8.031 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3439, allocations: 20.88 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.3441, allocations: 142.4 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3441, allocations: 4.375 kB / 1.286 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.3442, allocations: 4.375 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.3443, allocations: 62.23 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3443, allocations: 4.125 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.3443, allocations: 11.88 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.3443, allocations: 4 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.3445, allocations: 31.97 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004816/0.3449, allocations: 260.3 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.3451, allocations: 46.62 kB / 1.287 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.305e-05/0.3452, allocations: 20.94 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.3452, allocations: 4 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.3452, allocations: 30.56 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3452, allocations: 0 / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0002566/0.3455, allocations: 73.66 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.3455, allocations: 59.39 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3457, allocations: 132.3 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3457, allocations: 25.7 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.782e-05/0.3458, allocations: 100.1 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.3458, allocations: 15.94 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.3458, allocations: 17.72 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.346, allocations: 318.8 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.242e-05/0.346, allocations: 12 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.3461, allocations: 19.98 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.683e-05/0.3462, allocations: 28.84 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3462, allocations: 3.938 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001484/0.3463, allocations: 69.56 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3463, allocations: 12 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3463, allocations: 336 / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3463, allocations: 0 / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.025e-05/0.3464, allocations: 4 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3464, allocations: 0 / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.701e-05/0.3465, allocations: 11.98 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.3465, allocations: 0 / 1.288 GB, free: 7.715 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 9.409e-05/0.3466, allocations: 117.8 kB / 1.288 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.3466, allocations: 11.94 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.033e-05/0.3466, allocations: 16.33 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3467, allocations: 0 / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3467, allocations: 0 / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3467, allocations: 4 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.3468, allocations: 121.2 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3468, allocations: 4 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.3469, allocations: 3.938 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3469, allocations: 4 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3469, allocations: 0 / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3469, allocations: 4 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3469, allocations: 3.938 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.3471, allocations: 165.2 kB / 1.288 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.107e-05/0.3471, allocations: 19.88 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3471, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.3472, allocations: 11.98 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.3473, allocations: 3.984 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3473, allocations: 4 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.5e-05/0.3473, allocations: 101.5 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3473, allocations: 0 / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002253/0.3476, allocations: 12 kB / 1.288 GB, free: 7.062 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.0001277/0.3477, allocations: 103.2 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.3479, allocations: 35.92 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3479, allocations: 0 / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.449e-05/0.3479, allocations: 15.98 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.3482, allocations: 11.84 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.3486, allocations: 200.5 kB / 1.289 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.429e-05/0.3487, allocations: 79.19 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/0.3487, allocations: 11.44 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.3487, allocations: 0 / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of Templates: time 0.00275/0.3515, allocations: 0.9992 MB / 1.29 GB, free: 5.555 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/jenkins1/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: 11.024823530111462]