Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.436/2.436, allocations: 393.5 MB / 408.4 MB, free: 11.09 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.001111/0.001111, allocations: 187.9 kB / 0.4902 GB, free: 2.293 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.658/1.658, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.0009679/0.0009679, allocations: 98.77 kB / 0.9396 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 11.62 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3062, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.5023, allocations: 149.9 MB / 1.376 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.5026, allocations: 67.95 kB / 1.376 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004813/0.5075, allocations: 1.443 MB / 1.377 GB, free: 2.148 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.516e-06/0.5075, allocations: 4 kB / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.5075, allocations: 3.938 kB / 1.377 GB, free: 2.141 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006528/0.5082, allocations: 392.5 kB / 1.378 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5082, allocations: 12.03 kB / 1.378 GB, free: 1.699 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.381e-05/0.5083, allocations: 7.906 kB / 1.378 GB, free: 1.691 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.5085, allocations: 179 kB / 1.378 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.5085, allocations: 4 kB / 1.378 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.5085, allocations: 4 kB / 1.378 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.5089, allocations: 117.5 kB / 1.378 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5089, allocations: 0 / 1.378 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5089, allocations: 11.94 kB / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5089, allocations: 0 / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003918/0.5093, allocations: 119.9 kB / 1.378 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/0.51, allocations: 336.7 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.5107, allocations: 134.5 kB / 1.378 GB, free: 0.6992 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.5107, allocations: 4.062 kB / 1.378 GB, free: 0.6953 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.5107, allocations: 30.56 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.5107, allocations: 4 kB / 1.378 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007046/0.5114, allocations: 225.5 kB / 1.379 GB, free: 436 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.5115, allocations: 51.41 kB / 1.379 GB, free: 372 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.5116, allocations: 113 kB / 1.379 GB, free: 252 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.5116, allocations: 25.7 kB / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.5117, allocations: 104 kB / 1.379 GB, free: 112 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.5118, allocations: 15.8 kB / 1.379 GB, free: 96 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.5118, allocations: 0 / 1.379 GB, free: 96 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.5119, allocations: 314.8 kB / 1.379 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.5121, allocations: 59.95 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.5123, allocations: 51.95 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/0.5125, allocations: 63.95 kB / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5125, allocations: 0 / 1.379 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004296/0.5129, allocations: 157.5 kB / 1.38 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.513, allocations: 15.81 kB / 1.38 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.513, allocations: 0 / 1.38 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.513, allocations: 0 / 1.38 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001822/0.5132, allocations: 31.92 kB / 1.38 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.5132, allocations: 4 kB / 1.38 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.5133, allocations: 23.98 kB / 1.38 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5134, allocations: 3.984 kB / 1.38 GB, free: 15.37 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: 3 (intGre.u1,intGre.u2,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 9.899e-05/0.5135, allocations: 116.2 kB / 1.38 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.5135, allocations: 7.906 kB / 1.38 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.5135, allocations: 8.375 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5136, allocations: 4 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.5136, allocations: 7.953 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5136, allocations: 0 / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.5138, allocations: 193.6 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5138, allocations: 4 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.514, allocations: 31.97 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.514, allocations: 0 / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.514, allocations: 7.938 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.514, allocations: 0 / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.514, allocations: 4 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.5145, allocations: 259.3 kB / 1.38 GB, free: 14.66 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.448e-05/0.5146, allocations: 88.94 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.5146, allocations: 4 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.5148, allocations: 19.98 kB / 1.38 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.5149, allocations: 19.97 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.5149, allocations: 4 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 7.091e-05/0.515, allocations: 95.27 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.515, allocations: 3.938 kB / 1.38 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002439/0.5153, allocations: 19.95 kB / 1.381 GB, free: 14.39 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: 3 (intGre.u1,intGre.u2,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001723/0.5154, allocations: 118.5 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.5159, allocations: 123.9 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5159, allocations: 0 / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.5161, allocations: 75.94 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.5164, allocations: 4 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.5168, allocations: 194.2 kB / 1.381 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.5171, allocations: 0.6926 MB / 1.382 GB, free: 13.13 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.682e-05/0.5172, allocations: 16.17 kB / 1.382 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.679e-05/0.5173, allocations: 11.44 kB / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of SimCode: time 4.21e-07/0.5173, allocations: 0 / 1.382 GB, free: 13.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.00382/0.5211, allocations: 1.3 MB / 1.383 GB, free: 11.8 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches