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.001518/0.001518, allocations: 111.9 kB / 16.42 MB, free: 6.508 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.001604/0.001604, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.46/1.46, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.604/2.604, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 67.91 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9956/0.9972, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002441/0.9997, allocations: 0.8134 MB / 1.168 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001378/1.001, allocations: 0.8803 MB / 1.169 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/1.001, allocations: 7.938 kB / 1.169 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/1.001, allocations: 7.875 kB / 1.169 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/1.002, allocations: 15.86 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/1.002, allocations: 27.98 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001783/1.002, allocations: 79.7 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/1.002, allocations: 31.97 kB / 1.169 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/1.002, allocations: 27.86 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.478e-05/1.002, allocations: 27.86 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/1.002, allocations: 8 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.626e-05/1.002, allocations: 4 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.183e-05/1.002, allocations: 19.91 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/1.002, allocations: 27.81 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/1.003, allocations: 87.19 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.003, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.523e-06/1.003, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.432e-06/1.003, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.8887 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.000586/1.003, allocations: 388.1 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.003, allocations: 8.922 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.215e-05/1.003, allocations: 12.89 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/1.004, allocations: 208.2 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.879e-06/1.004, allocations: 384 / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.004, allocations: 8.359 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/1.004, allocations: 66.17 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/1.004, allocations: 192 / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/1.004, allocations: 3.938 kB / 1.17 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.004, allocations: 3.938 kB / 1.17 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/1.004, allocations: 31.98 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005169/1.005, allocations: 324.7 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/1.005, allocations: 46.5 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.282e-05/1.005, allocations: 21 kB / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/1.005, allocations: 0 / 1.17 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/1.005, allocations: 42.59 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/1.005, allocations: 0 / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.00026/1.005, allocations: 73.62 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/1.005, allocations: 51.41 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/1.005, allocations: 132.2 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/1.005, allocations: 29.7 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/1.005, allocations: 100.1 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/1.005, allocations: 15.95 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/1.005, allocations: 17.7 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001297/1.006, allocations: 318.8 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.449e-05/1.006, allocations: 15.98 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.92e-05/1.006, allocations: 20.16 kB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.113e-05/1.006, allocations: 36.78 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.006, allocations: 0 / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001524/1.006, allocations: 65.64 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.006, allocations: 8 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/1.006, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.006, allocations: 3.984 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.524e-05/1.006, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/1.006, allocations: 0 / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.886e-05/1.006, allocations: 11.98 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/1.006, allocations: 0 / 1.171 GB, free: 15.54 MB / 0.9044 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 0.0001066/1.006, allocations: 121.8 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.095e-05/1.006, allocations: 11.89 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/1.006, allocations: 12.23 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/1.006, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.006, allocations: 0 / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/1.007, allocations: 85.06 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/1.007, allocations: 3.938 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/1.007, allocations: 11.98 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/1.007, allocations: 11.92 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002243/1.007, allocations: 144.9 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002245/1.007, allocations: 234.7 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.564e-05/1.007, allocations: 19.98 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.644e-05/1.007, allocations: 103.2 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of Backend: time 2.8e-07/1.007, allocations: 4 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004382/1.008, allocations: 105.1 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005842/1.008, allocations: 0.6203 MB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.003557/1.012, allocations: 0.9451 MB / 1.174 GB, free: 13.01 MB / 0.9044 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=480 -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/jenkins1/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