Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 117.9 kB / 16.81 MB, free: 5.758 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.001613/0.001613, allocations: 192.7 kB / 17.77 MB, free: 5.133 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.623/1.623, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.952/2.952, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 73.31 kB / 1.097 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4046, allocations: 168.7 MB / 1.262 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.00193/0.4065, allocations: 0.7045 MB / 1.263 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.4075, allocations: 0.8432 MB / 1.264 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.645e-05/0.4076, allocations: 4 kB / 1.264 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.4076, allocations: 3.938 kB / 1.264 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.456e-05/0.4077, allocations: 7.938 kB / 1.264 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001452/0.4078, allocations: 23.97 kB / 1.264 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.382e-05/0.4079, allocations: 47.91 kB / 1.264 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.408, allocations: 11.98 kB / 1.264 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.451e-05/0.4081, allocations: 15.92 kB / 1.264 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.528e-05/0.4082, allocations: 27.91 kB / 1.264 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.4082, allocations: 4 kB / 1.264 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.615e-05/0.4082, allocations: 4 kB / 1.264 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.4082, allocations: 19.86 kB / 1.264 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.4083, allocations: 11.94 kB / 1.264 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.4084, allocations: 59.72 kB / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4084, allocations: 0 / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4084, allocations: 0 / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4084, allocations: 0 / 1.264 GB, free: 11.11 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005613/0.409, allocations: 359.3 kB / 1.264 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.409, allocations: 8.625 kB / 1.264 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.4091, allocations: 8.891 kB / 1.264 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.4092, allocations: 172.3 kB / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.4092, allocations: 4.375 kB / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.4092, allocations: 4.375 kB / 1.264 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.4095, allocations: 69.53 kB / 1.264 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.4095, allocations: 0 / 1.264 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4095, allocations: 4 kB / 1.264 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4095, allocations: 4 kB / 1.264 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.4097, allocations: 43.95 kB / 1.264 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.4102, allocations: 300.8 kB / 1.265 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.4104, allocations: 62.48 kB / 1.265 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.4105, allocations: 28.91 kB / 1.265 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.4105, allocations: 0 / 1.265 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.4106, allocations: 38.56 kB / 1.265 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 3.065e-06/0.4106, allocations: 3.984 kB / 1.265 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004354/0.411, allocations: 101.6 kB / 1.265 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.411, allocations: 55.41 kB / 1.265 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.73e-05/0.4111, allocations: 113.8 kB / 1.265 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.4111, allocations: 25.7 kB / 1.265 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.699e-05/0.4112, allocations: 100 kB / 1.265 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.4112, allocations: 7.953 kB / 1.265 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.4113, allocations: 17.72 kB / 1.265 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.4114, allocations: 322.8 kB / 1.266 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.4115, allocations: 23.92 kB / 1.266 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.4116, allocations: 27.97 kB / 1.266 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/0.4118, allocations: 52.81 kB / 1.266 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4118, allocations: 0 / 1.266 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002622/0.4121, allocations: 85.61 kB / 1.266 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.4121, allocations: 4 kB / 1.266 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4121, allocations: 3.984 kB / 1.266 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4121, allocations: 0 / 1.266 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.4122, allocations: 15.92 kB / 1.266 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4123, allocations: 0 / 1.266 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.4123, allocations: 12 kB / 1.266 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.4123, allocations: 3.984 kB / 1.266 GB, free: 8.84 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.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.0001084/0.4124, allocations: 123.7 kB / 1.266 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.4125, allocations: 0 / 1.266 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.4125, allocations: 3.906 kB / 1.266 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.4125, allocations: 4 kB / 1.266 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4125, allocations: 0 / 1.266 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.4126, allocations: 81.06 kB / 1.266 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.249e-05/0.4126, allocations: 11.92 kB / 1.266 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4127, allocations: 12 kB / 1.266 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.4128, allocations: 11.98 kB / 1.266 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003397/0.4131, allocations: 164.9 kB / 1.266 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000333/0.4134, allocations: 262.7 kB / 1.266 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001242/0.4136, allocations: 28.39 kB / 1.266 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.433e-05/0.4136, allocations: 95.2 kB / 1.267 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of Backend: time 3.31e-07/0.4136, allocations: 0 / 1.267 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004473/0.4141, allocations: 108.2 kB / 1.267 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of SimCode: time 0.0006092/0.4147, allocations: 0.5687 MB / 1.267 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.003606/0.4183, allocations: 1.008 MB / 1.268 GB, free: 6.27 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches