Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_10_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_10_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.002052/0.002052, allocations: 114 kB / 16.42 MB, free: 6.512 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.002705/0.002705, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.538/1.538, 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 10.1.1-maint.10.0.x/package.mo): time 2.769/2.769, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 71.89 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.124, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001957/1.126, allocations: 0.7036 MB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009803/1.127, allocations: 0.8453 MB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/1.128, allocations: 0 / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.357e-05/1.128, allocations: 3.938 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.868e-05/1.128, allocations: 7.938 kB / 1.169 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/1.128, allocations: 23.97 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/1.128, allocations: 47.84 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/1.128, allocations: 15.98 kB / 1.169 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/1.128, allocations: 15.98 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.282e-05/1.128, allocations: 27.84 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.41e-05/1.128, allocations: 8 kB / 1.169 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/1.128, allocations: 4 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.213e-05/1.128, allocations: 7.984 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/1.128, allocations: 27.86 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.958e-05/1.128, allocations: 43.86 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.128, allocations: 0 / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.252e-06/1.128, allocations: 3.938 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.809e-06/1.128, allocations: 0 / 1.169 GB, free: 2.031 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005585/1.129, allocations: 355.2 kB / 1.169 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.129, allocations: 12.03 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/1.129, allocations: 4.844 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/1.129, allocations: 168.4 kB / 1.17 GB, free: 1.422 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/1.129, allocations: 4.375 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/1.129, allocations: 4.375 kB / 1.17 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/1.129, allocations: 65.59 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/1.13, allocations: 0 / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/1.13, allocations: 8 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.13, allocations: 0 / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/1.13, allocations: 55.88 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/1.13, allocations: 290.6 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/1.13, allocations: 66.56 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/1.131, allocations: 28.83 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/1.131, allocations: 3.984 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/1.131, allocations: 46.48 kB / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/1.131, allocations: 0 / 1.17 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004132/1.131, allocations: 105.6 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/1.131, allocations: 51.41 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.002e-05/1.131, allocations: 113.8 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/1.131, allocations: 25.7 kB / 1.17 GB, free: 472 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.113e-05/1.131, allocations: 92.12 kB / 1.17 GB, free: 376 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/1.131, allocations: 23.77 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/1.131, allocations: 17.7 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.131, allocations: 318.8 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/1.132, allocations: 23.97 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.885e-05/1.132, allocations: 19.98 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/1.132, allocations: 60.75 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.132, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002374/1.132, allocations: 89.55 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.132, allocations: 4 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/1.132, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/1.132, allocations: 0 / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/1.132, allocations: 11.98 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.132, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.027e-05/1.132, allocations: 15.98 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/1.132, allocations: 0 / 1.171 GB, free: 15.77 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: 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 9.527e-05/1.133, allocations: 117.7 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/1.133, allocations: 4 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/1.133, allocations: 11.89 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/1.133, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/1.133, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/1.133, allocations: 85.02 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/1.133, allocations: 3.938 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/1.133, allocations: 11.98 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/1.133, allocations: 11.98 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003344/1.133, allocations: 172.8 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003339/1.134, allocations: 259.1 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001145/1.134, allocations: 32 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.66e-05/1.134, allocations: 91.22 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of Backend: time 5.81e-07/1.134, allocations: 0 / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000466/1.134, allocations: 108.6 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005974/1.135, allocations: 0.5688 MB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.003613/1.138, allocations: 0.9824 MB / 1.173 GB, free: 13.23 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches