Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001637/0.001637, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001827/0.001828, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.596/1.596, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.954/2.954, allocations: 437 MB / 0.7099 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.89 kB / 0.8686 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.8328, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002517/0.8353, allocations: 0.8872 MB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.8366, allocations: 0.874 MB / 1.018 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.261e-05/0.8367, allocations: 3.938 kB / 1.018 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.8368, allocations: 11.92 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.212e-05/0.8369, allocations: 7.875 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001627/0.837, allocations: 19.98 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.8372, allocations: 71.78 kB / 1.018 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.8373, allocations: 31.97 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.901e-05/0.8374, allocations: 31.84 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.11e-05/0.8375, allocations: 27.86 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.8376, allocations: 8 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.71e-05/0.8376, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.8376, allocations: 15.92 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.8377, allocations: 27.8 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.8378, allocations: 69.72 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8378, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8378, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8378, allocations: 0 / 1.019 GB, free: 0.6562 MB / 0.7637 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.0006624/0.8385, allocations: 391.1 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.8386, allocations: 16.03 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.8386, allocations: 8.844 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.8389, allocations: 204.1 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.8389, allocations: 4.375 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.8389, allocations: 4.375 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.8391, allocations: 66.22 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.8391, allocations: 192 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.8392, allocations: 3.938 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.8392, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.8393, allocations: 35.98 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005719/0.8399, allocations: 324.6 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.8401, allocations: 50.59 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.8401, allocations: 21 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.8402, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.8402, allocations: 34.56 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.8402, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0002675/0.8405, allocations: 73.58 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.8405, allocations: 55.41 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.8407, allocations: 135.6 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.8407, allocations: 25.7 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.841e-05/0.8408, allocations: 104 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.8408, allocations: 11.91 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.8408, allocations: 17.7 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.841, allocations: 318.8 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.8411, allocations: 15.98 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-05/0.8411, allocations: 19.98 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.8412, allocations: 32.84 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8412, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001491/0.8414, allocations: 61.59 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8414, allocations: 8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.8414, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.8414, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.8415, allocations: 12.25 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.8415, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.587e-05/0.8416, allocations: 15.92 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.8416, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 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.766e-05/0.8417, allocations: 118.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.8418, allocations: 3.906 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.8418, allocations: 24.16 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8418, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8418, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.8418, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.8421, allocations: 193.6 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.8421, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.8421, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8421, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.8421, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.8421, allocations: 3.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8422, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.8424, allocations: 167.3 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.8424, allocations: 81.11 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.899e-05/0.8425, allocations: 0 / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.8426, allocations: 7.984 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.899e-05/0.8426, allocations: 15.98 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.8426, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.636e-05/0.8427, allocations: 109.1 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8427, allocations: 0 / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000228/0.843, allocations: 15.84 kB / 1.021 GB, free: 13.57 MB / 0.7794 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.000171/0.8431, allocations: 107.2 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.8433, allocations: 31.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.8433, allocations: 3.938 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.331e-05/0.8434, allocations: 23.92 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.8437, allocations: 8 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.8441, allocations: 180.3 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.8445, allocations: 0.6926 MB / 1.022 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.8445, allocations: 4 kB / 1.022 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.8446, allocations: 15.42 kB / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of SimCode: time 3.81e-07/0.8446, allocations: 0 / 1.022 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of Templates: time 0.003376/0.848, allocations: 0.7304 MB / 1.023 GB, free: 11.73 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches