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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001629/0.001629, allocations: 114 kB / 16.42 MB, free: 5.984 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.001198/0.001198, allocations: 190.4 kB / 17.35 MB, free: 5.602 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.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.808/2.808, allocations: 472.7 MB / 0.746 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 71.89 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9245/0.926, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002334/0.9284, allocations: 0.8095 MB / 1.227 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001209/0.9296, allocations: 0.8741 MB / 1.228 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.9298, allocations: 7.938 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.9299, allocations: 11.86 kB / 1.228 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.034e-05/0.93, allocations: 15.88 kB / 1.228 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.9303, allocations: 27.95 kB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.9305, allocations: 75.72 kB / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.9306, allocations: 27.98 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.9308, allocations: 35.86 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.9309, allocations: 27.84 kB / 1.228 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.9309, allocations: 4 kB / 1.228 GB, free: 11.58 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.959e-05/0.9309, allocations: 8 kB / 1.228 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.6e-05/0.931, allocations: 15.92 kB / 1.228 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.808e-05/0.931, allocations: 31.8 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.9312, allocations: 75.2 kB / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.9312, allocations: 0 / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9313, allocations: 0 / 1.228 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.9313, allocations: 0 / 1.228 GB, free: 11.46 MB / 0.9512 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.0006569/0.9319, allocations: 400.1 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.932, allocations: 8.031 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.9321, allocations: 8.891 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.9324, allocations: 200.2 kB / 1.229 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.9324, allocations: 4.375 kB / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.9325, allocations: 8.312 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.9326, allocations: 70.16 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.9327, allocations: 4.125 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.9327, allocations: 11.94 kB / 1.229 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.9327, allocations: 0 / 1.229 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.9328, allocations: 31.97 kB / 1.229 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.9334, allocations: 324.6 kB / 1.229 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.9336, allocations: 54.61 kB / 1.229 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.9337, allocations: 12.86 kB / 1.229 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.9337, allocations: 4 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.9337, allocations: 38.59 kB / 1.23 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.843e-06/0.9337, allocations: 0 / 1.23 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0002817/0.934, allocations: 73.75 kB / 1.23 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.9341, allocations: 51.41 kB / 1.23 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.9342, allocations: 143.1 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.9342, allocations: 25.7 kB / 1.23 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.19e-05/0.9343, allocations: 96.14 kB / 1.23 GB, free: 9.719 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.9343, allocations: 7.938 kB / 1.23 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/0.9344, allocations: 17.72 kB / 1.23 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.9345, allocations: 326.8 kB / 1.23 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.734e-05/0.9346, allocations: 12 kB / 1.23 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.146e-05/0.9347, allocations: 15.98 kB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.791e-05/0.9348, allocations: 32.78 kB / 1.23 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.9348, allocations: 0 / 1.23 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001426/0.9349, allocations: 69.62 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.9349, allocations: 5.875 kB / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.935, allocations: 0 / 1.23 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.935, allocations: 8 kB / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.154e-05/0.9351, allocations: 0 / 1.23 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.9351, allocations: 7.984 kB / 1.23 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.9351, allocations: 7.984 kB / 1.23 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.9352, allocations: 0 / 1.23 GB, free: 9.195 MB / 0.9512 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.772e-05/0.9353, allocations: 122.3 kB / 1.231 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.888e-05/0.9353, allocations: 11.89 kB / 1.231 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.519e-05/0.9353, allocations: 12.25 kB / 1.231 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.9353, allocations: 4 kB / 1.231 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9353, allocations: 3.938 kB / 1.231 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.9354, allocations: 81.06 kB / 1.231 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.9354, allocations: 7.938 kB / 1.231 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.9355, allocations: 12.31 kB / 1.231 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.9356, allocations: 7.984 kB / 1.231 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002048/0.9358, allocations: 144.9 kB / 1.231 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002148/0.936, allocations: 238.7 kB / 1.231 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.703e-05/0.9361, allocations: 23.92 kB / 1.231 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.859e-05/0.9362, allocations: 103.2 kB / 1.231 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of Backend: time 2.5e-07/0.9362, allocations: 0 / 1.231 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004201/0.9366, allocations: 103.6 kB / 1.231 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005489/0.9372, allocations: 0.6228 MB / 1.232 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of Templates: time 0.003574/0.9408, allocations: 0.9519 MB / 1.233 GB, free: 6.664 MB / 0.9512 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