Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.356/2.356, allocations: 393.5 MB / 408.4 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 180 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.1 MB / 0.7992 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009752/0.0009752, allocations: 94.41 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003715, allocations: 8.844 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3044, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.4917, allocations: 149.9 MB / 1.376 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.492, allocations: 63.97 kB / 1.376 GB, free: 15.32 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002884/0.4949, allocations: 0.9482 MB / 1.377 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4949, allocations: 0 / 1.377 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.4949, allocations: 0 / 1.377 GB, free: 14.36 MB / 0.8855 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.0004517/0.4954, allocations: 360.2 kB / 1.377 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4954, allocations: 12.56 kB / 1.377 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.4955, allocations: 11.84 kB / 1.377 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4956, allocations: 175 kB / 1.377 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.4957, allocations: 4 kB / 1.377 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.4957, allocations: 0 / 1.377 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.4959, allocations: 69.66 kB / 1.377 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.4959, allocations: 0 / 1.377 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.4959, allocations: 0 / 1.377 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4959, allocations: 4 kB / 1.377 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.4962, allocations: 63.94 kB / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.4967, allocations: 288.8 kB / 1.378 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.4969, allocations: 66.53 kB / 1.378 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4969, allocations: 0 / 1.378 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4969, allocations: 38.59 kB / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 5.731e-06/0.4969, allocations: 4 kB / 1.378 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0004673/0.4974, allocations: 125.6 kB / 1.378 GB, free: 13 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.4975, allocations: 55.36 kB / 1.378 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.491e-05/0.4975, allocations: 101 kB / 1.378 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.4976, allocations: 29.7 kB / 1.378 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.4976, allocations: 88.12 kB / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.4977, allocations: 15.88 kB / 1.378 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.4977, allocations: 0 / 1.378 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.632e-05/0.4978, allocations: 314.8 kB / 1.378 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4979, allocations: 31.97 kB / 1.378 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.755e-05/0.498, allocations: 27.98 kB / 1.378 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.4981, allocations: 27.97 kB / 1.378 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4981, allocations: 7.938 kB / 1.378 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002455/0.4984, allocations: 97.58 kB / 1.378 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4984, allocations: 4 kB / 1.379 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.4984, allocations: 0 / 1.379 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.4984, allocations: 3.938 kB / 1.379 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.4985, allocations: 15.98 kB / 1.379 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4986, allocations: 0 / 1.379 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-05/0.4986, allocations: 19.94 kB / 1.379 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.4987, allocations: 0 / 1.379 GB, free: 12.13 MB / 0.8855 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 (intGreThr.u,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.4988, allocations: 113.8 kB / 1.379 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.4988, allocations: 3.906 kB / 1.379 GB, free: 12.01 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.841e-05/0.4988, allocations: 11.91 kB / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4988, allocations: 0 / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4989, allocations: 0 / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4989, allocations: 0 / 1.379 GB, free: 12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.4991, allocations: 181.6 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4991, allocations: 4 kB / 1.379 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.951e-05/0.4992, allocations: 15.92 kB / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.4992, allocations: 0 / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.4992, allocations: 0 / 1.379 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.4992, allocations: 7.984 kB / 1.379 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4992, allocations: 0 / 1.379 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003258/0.4995, allocations: 187.5 kB / 1.379 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.4996, allocations: 89 kB / 1.379 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4996, allocations: 4.375 kB / 1.379 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.4997, allocations: 11.98 kB / 1.379 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.739e-05/0.4998, allocations: 11.98 kB / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.4998, allocations: 4 kB / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.178e-05/0.4999, allocations: 79.59 kB / 1.379 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4999, allocations: 0 / 1.379 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002223/0.5001, allocations: 27.92 kB / 1.379 GB, free: 11.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001473/0.5003, allocations: 107.9 kB / 1.379 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.5005, allocations: 63.95 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5006, allocations: 4 kB / 1.379 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.5007, allocations: 35.97 kB / 1.379 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001978/0.5009, allocations: 7.953 kB / 1.379 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003617/0.5013, allocations: 144.6 kB / 1.38 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.5016, allocations: 0.6848 MB / 1.38 GB, free: 10.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 5.432e-05/0.5016, allocations: 8 kB / 1.38 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.5017, allocations: 11.44 kB / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of SimCode: time 4.9e-07/0.5017, allocations: 0 / 1.38 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of Templates: time 0.002769/0.5044, allocations: 0.739 MB / 1.381 GB, free: 9.449 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches