Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 106.5 kB / 16.41 MB, free: 5.977 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.001713/0.001713, allocations: 186 kB / 17.34 MB, free: 5.586 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.91 kB / 0.9516 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9518/0.9533, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.004788/0.9581, allocations: 1.926 MB / 1.091 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002688/0.9608, allocations: 1.094 MB / 1.092 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.9611, allocations: 11.16 kB / 1.092 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005601/0.9617, allocations: 112.7 kB / 1.092 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.9622, allocations: 107 kB / 1.092 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.9628, allocations: 153.6 kB / 1.092 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.9633, allocations: 203.5 kB / 1.092 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.9636, allocations: 47.06 kB / 1.092 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.9638, allocations: 94.52 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.9641, allocations: 106.4 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.9641, allocations: 13.94 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.9644, allocations: 51.67 kB / 1.092 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.9645, allocations: 56.11 kB / 1.093 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.9647, allocations: 89.39 kB / 1.093 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000496/0.9652, allocations: 272 kB / 1.093 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9652, allocations: 1.031 kB / 1.093 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9652, allocations: 4.734 kB / 1.093 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.9652, allocations: 0 / 1.093 GB, free: 3.074 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001093/0.9663, allocations: 0.5451 MB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.9664, allocations: 9.766 kB / 1.093 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.499e-05/0.9665, allocations: 24.31 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007563/0.9673, allocations: 383.4 kB / 1.094 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.9673, allocations: 2.875 kB / 1.094 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.9673, allocations: 9.047 kB / 1.094 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.9676, allocations: 85.47 kB / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.9676, allocations: 5.094 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.9676, allocations: 0.7969 kB / 1.094 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.9677, allocations: 10.09 kB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.9678, allocations: 38.06 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.9687, allocations: 408.8 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.969, allocations: 85.39 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.506e-05/0.9691, allocations: 28.3 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.9692, allocations: 1.938 kB / 1.094 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.9694, allocations: 77.59 kB / 1.095 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.9694, allocations: 0 / 1.095 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004717/0.9699, allocations: 143.9 kB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.97, allocations: 52.53 kB / 1.095 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.9705, allocations: 306.8 kB / 1.095 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.9705, allocations: 30.77 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.9707, allocations: 144.7 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/0.9707, allocations: 21.55 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.9708, allocations: 44.7 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.9709, allocations: 341.7 kB / 1.096 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.9711, allocations: 39.59 kB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.9713, allocations: 63.72 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/0.9715, allocations: 79.91 kB / 1.096 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9715, allocations: 0 / 1.096 GB, free: 0.8242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004516/0.972, allocations: 170.1 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.972, allocations: 10.16 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.972, allocations: 4.844 kB / 1.096 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.972, allocations: 5.5 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.9722, allocations: 21.59 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.9723, allocations: 5.891 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.9724, allocations: 10.67 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.722e-05/0.9725, allocations: 12.05 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,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 (18): * Single equations (assignments): 18 * 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.0001955/0.9727, allocations: 160.8 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.9728, allocations: 26.16 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.694e-05/0.9729, allocations: 28.48 kB / 1.096 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9729, allocations: 3.938 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.9729, allocations: 1.031 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.9729, allocations: 0.75 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.9733, allocations: 241.4 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.9733, allocations: 0.7812 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.307e-05/0.9733, allocations: 4.047 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.9733, allocations: 0.9062 kB / 1.096 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.9733, allocations: 6.562 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.9734, allocations: 8.906 kB / 1.096 GB, free: 328 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.9734, allocations: 4 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.9737, allocations: 135.9 kB / 1.097 GB, free: 224 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.9738, allocations: 102.7 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.9738, allocations: 6.734 kB / 1.097 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.974, allocations: 13.59 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.9741, allocations: 9.766 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.9741, allocations: 11.64 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003763/0.9745, allocations: 212 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2e-07/0.9745, allocations: 0.7188 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004785/0.975, allocations: 44.19 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 3 (timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001246/0.9763, allocations: 411.4 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003637/0.9766, allocations: 91.33 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.9767, allocations: 12 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.9768, allocations: 28.56 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.9774, allocations: 53.44 kB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.9785, allocations: 403.2 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005073/0.979, allocations: 0.7538 MB / 1.099 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.9791, allocations: 26.3 kB / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/0.9791, allocations: 0 / 1.099 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of Templates: time 0.00992/0.9891, allocations: 3.301 MB / 1.102 GB, free: 14.35 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches