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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.001489, allocations: 110.8 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 191.3 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.581/2.581, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 66.62 kB / 0.9087 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.317, allocations: 159.1 MB / 1.064 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002141/0.3191, allocations: 0.876 MB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3204, allocations: 0.8741 MB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.865e-05/0.3205, allocations: 3.938 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001192/0.3206, allocations: 7.922 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.432e-05/0.3207, allocations: 11.92 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.3208, allocations: 27.92 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.321, allocations: 75.78 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3211, allocations: 27.98 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.797e-05/0.3212, allocations: 31.91 kB / 1.066 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.3213, allocations: 27.8 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.3213, allocations: 8 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.3214, allocations: 4 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.3214, allocations: 15.92 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.226e-05/0.3214, allocations: 31.81 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.3216, allocations: 60.14 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3216, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3216, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3216, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 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.0005804/0.3222, allocations: 387.1 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.3222, allocations: 12.02 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.3223, allocations: 8.844 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.3225, allocations: 204.2 kB / 1.067 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3225, allocations: 4.375 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.3226, allocations: 4.375 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.3227, allocations: 66.17 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.3227, allocations: 192 / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.3227, allocations: 7.875 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.3228, allocations: 11.92 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3229, allocations: 27.98 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.3234, allocations: 324.6 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.3235, allocations: 42.56 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.624e-05/0.3236, allocations: 25 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.3236, allocations: 96 / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3237, allocations: 38.5 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.3237, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0002497/0.3239, allocations: 69.58 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.324, allocations: 55.39 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3241, allocations: 136.3 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.3241, allocations: 33.7 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.3242, allocations: 99.98 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.594e-05/0.3242, allocations: 7.891 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/0.3243, allocations: 17.72 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3244, allocations: 326.8 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.113e-05/0.3245, allocations: 12 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.009e-05/0.3245, allocations: 19.92 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.228e-05/0.3246, allocations: 28.84 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3246, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001381/0.3248, allocations: 69.58 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3248, allocations: 4 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3248, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3248, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.526e-05/0.3249, allocations: 4 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3249, allocations: 0 / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.325, allocations: 11.98 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.325, allocations: 4 kB / 1.068 GB, free: 10.74 MB / 0.8419 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.993e-05/0.3251, allocations: 122.4 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.3251, allocations: 7.906 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.3252, allocations: 12.23 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3252, allocations: 4 kB / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3252, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3252, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.3254, allocations: 181.6 kB / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3254, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.442e-05/0.3254, allocations: 15.92 kB / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3255, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3255, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3255, allocations: 4 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3255, allocations: 3.938 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.3257, allocations: 163.7 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.3257, allocations: 89.05 kB / 1.069 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.3258, allocations: 3.938 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.991e-05/0.3259, allocations: 15.98 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.3259, allocations: 7.984 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.3259, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.599e-05/0.326, allocations: 103.3 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.326, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002165/0.3262, allocations: 11.94 kB / 1.069 GB, free: 9.906 MB / 0.8419 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.0001403/0.3264, allocations: 103.2 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.3265, allocations: 35.98 kB / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3266, allocations: 0 / 1.069 GB, free: 9.762 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.3266, allocations: 23.92 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3269, allocations: 14 kB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003758/0.3273, allocations: 216.3 kB / 1.069 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.3276, allocations: 0.6923 MB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.3276, allocations: 15.42 kB / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.3277, allocations: 0 / 1.07 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.002594/0.3303, allocations: 0.9673 MB / 1.071 GB, free: 7.785 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (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) 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) Reference file matches