Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001347/0.001347, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001535/0.001536, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.454/2.454, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 75.89 kB / 1.055 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.724/0.7253, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001959/0.7272, allocations: 0.8245 MB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.7283, allocations: 0.8702 MB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.7284, allocations: 7.938 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.7285, allocations: 11.88 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.7286, allocations: 11.88 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.7287, allocations: 23.97 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.7289, allocations: 75.72 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.729, allocations: 35.97 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.377e-05/0.7291, allocations: 27.86 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.7292, allocations: 31.84 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.7292, allocations: 4 kB / 1.21 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.7292, allocations: 8 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.7292, allocations: 15.86 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.7293, allocations: 35.8 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.7294, allocations: 71.73 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.7294, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.143e-06/0.7294, allocations: 4 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.7294, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 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.0004727/0.7299, allocations: 388.8 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.7299, allocations: 8.031 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.73, allocations: 12.78 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.7302, allocations: 200.1 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.7303, allocations: 8.375 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.7303, allocations: 4.375 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.7304, allocations: 70.11 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.7304, allocations: 192 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7305, allocations: 7.922 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.136e-06/0.7305, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.865e-05/0.7306, allocations: 31.98 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.731, allocations: 316.7 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.7312, allocations: 46.56 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.31e-05/0.7312, allocations: 21.09 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.7312, allocations: 3.938 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.7313, allocations: 34.56 kB / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7313, allocations: 0 / 1.212 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002364/0.7315, allocations: 73.58 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.7316, allocations: 55.41 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.88e-05/0.7317, allocations: 135.8 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.7317, allocations: 29.7 kB / 1.212 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.7317, allocations: 100.1 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.7318, allocations: 3.906 kB / 1.212 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-05/0.7318, allocations: 25.7 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.619e-05/0.7319, allocations: 318.8 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.468e-05/0.732, allocations: 15.98 kB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.448e-05/0.732, allocations: 19.94 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.846e-05/0.7321, allocations: 28.83 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.7321, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001332/0.7323, allocations: 65.59 kB / 1.212 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.7323, allocations: 8 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.7323, allocations: 336 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.7323, allocations: 0 / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.7324, allocations: 7.984 kB / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.7324, allocations: 0 / 1.212 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.822e-05/0.7325, allocations: 15.92 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.7325, allocations: 7.938 kB / 1.212 GB, free: 9.309 MB / 0.9356 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 7.748e-05/0.7326, allocations: 113.8 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.7326, allocations: 23.83 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.7326, allocations: 4.25 kB / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7326, allocations: 0 / 1.213 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7326, allocations: 3.984 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7326, allocations: 7.938 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.7328, allocations: 185.6 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7328, allocations: 0 / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.7329, allocations: 4 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7329, allocations: 0 / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.7329, allocations: 0 / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7329, allocations: 4 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.7329, allocations: 0 / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.7331, allocations: 167.3 kB / 1.213 GB, free: 8.723 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.7331, allocations: 89 kB / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.7332, allocations: 0 / 1.213 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.7333, allocations: 7.984 kB / 1.213 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.7333, allocations: 7.984 kB / 1.213 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.7333, allocations: 8 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.08e-05/0.7334, allocations: 101 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7334, allocations: 0 / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002158/0.7336, allocations: 15.94 kB / 1.213 GB, free: 8.48 MB / 0.9356 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.0001206/0.7338, allocations: 99.25 kB / 1.213 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.7339, allocations: 35.97 kB / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7339, allocations: 0 / 1.213 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.734, allocations: 23.94 kB / 1.213 GB, free: 8.316 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.7342, allocations: 11.98 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.7346, allocations: 196.1 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002294/0.7348, allocations: 0.6885 MB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.7348, allocations: 11.44 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.7348, allocations: 4 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.002145/0.737, allocations: 0.9812 MB / 1.215 GB, free: 6.375 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches