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.001154/0.001154, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.00119/0.00119, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.427/1.427, 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 11.0.1-master/package.mo): time 2.71/2.71, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9487/0.95, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002359/0.9524, allocations: 0.8231 MB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.9537, allocations: 0.8741 MB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.9539, allocations: 7.938 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.9541, allocations: 7.875 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.858e-05/0.9541, allocations: 19.8 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.9543, allocations: 23.97 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.9545, allocations: 79.77 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.9546, allocations: 27.98 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.9547, allocations: 31.86 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.235e-05/0.9549, allocations: 31.84 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.9549, allocations: 4 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.492e-05/0.9549, allocations: 4 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.9549, allocations: 19.92 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.955, allocations: 27.75 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.9551, allocations: 79.73 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.9551, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9551, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.203e-06/0.9552, allocations: 4 kB / 1.21 GB, free: 11.59 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.000599/0.9558, allocations: 388.8 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.9558, allocations: 8.031 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.9559, allocations: 12.78 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.9562, allocations: 204.1 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.617e-06/0.9562, allocations: 384 / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.9562, allocations: 4.375 kB / 1.211 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.9564, allocations: 74.11 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9564, allocations: 192 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.9564, allocations: 3.938 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.9565, allocations: 4 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.9566, allocations: 27.98 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.9571, allocations: 328.7 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.9573, allocations: 38.56 kB / 1.212 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.9574, allocations: 21 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.9574, allocations: 96 / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.9574, allocations: 42.5 kB / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.9574, allocations: 0 / 1.212 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002577/0.9577, allocations: 77.56 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.9578, allocations: 51.41 kB / 1.212 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.9579, allocations: 139.9 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.9579, allocations: 29.69 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.958, allocations: 92.14 kB / 1.212 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.958, allocations: 3.906 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.958, allocations: 21.7 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.9582, allocations: 326.8 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.473e-05/0.9582, allocations: 15.98 kB / 1.212 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.612e-05/0.9583, allocations: 19.92 kB / 1.212 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.204e-05/0.9584, allocations: 24.84 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9584, allocations: 0 / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001488/0.9586, allocations: 73.59 kB / 1.212 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.9586, allocations: 7.984 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.9586, allocations: 0 / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.9586, allocations: 4 kB / 1.212 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.942e-05/0.9587, allocations: 4 kB / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.9587, allocations: 0 / 1.212 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8e-05/0.9588, allocations: 15.92 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.9588, allocations: 0 / 1.212 GB, free: 9.344 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 0.0001026/0.9589, allocations: 121.7 kB / 1.213 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-05/0.9589, allocations: 11.84 kB / 1.213 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.959, allocations: 20.23 kB / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.959, allocations: 0 / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.959, allocations: 0 / 1.213 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.959, allocations: 81.02 kB / 1.213 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.9591, allocations: 3.938 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.9592, allocations: 11.98 kB / 1.213 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.9593, allocations: 15.92 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002148/0.9595, allocations: 136.9 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002118/0.9597, allocations: 238.7 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.777e-05/0.9598, allocations: 15.98 kB / 1.213 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.195e-05/0.9598, allocations: 109.2 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of Backend: time 3.51e-07/0.9598, allocations: 0 / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004255/0.9603, allocations: 106.8 kB / 1.213 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005531/0.9608, allocations: 0.6089 MB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of Templates: time 0.003423/0.9643, allocations: 0.9486 MB / 1.215 GB, free: 6.824 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