Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.482/2.482, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001156/0.001156, allocations: 187.7 kB / 0.4902 GB, free: 2.262 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.562/1.562, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009709/0.0009709, allocations: 92.33 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005464/0.0005464, allocations: 11 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2686, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.4592, allocations: 154.2 MB / 1.38 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4595, allocations: 83.89 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03092/0.4905, allocations: 11.16 MB / 1.391 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.414e-06/0.4905, allocations: 0 / 1.391 GB, free: 4.176 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.941e-05/0.4906, allocations: 8 kB / 1.391 GB, free: 4.168 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001055/0.4916, allocations: 0.607 MB / 1.391 GB, free: 3.512 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.4917, allocations: 12.03 kB / 1.391 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.4918, allocations: 43.47 kB / 1.391 GB, free: 3.457 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008844/0.4927, allocations: 397.1 kB / 1.392 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/0.4927, allocations: 8 kB / 1.392 GB, free: 3.023 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.802e-05/0.4928, allocations: 15.94 kB / 1.392 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.4931, allocations: 107.6 kB / 1.392 GB, free: 2.898 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4932, allocations: 4 kB / 1.392 GB, free: 2.895 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.858e-05/0.4932, allocations: 8 kB / 1.392 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4932, allocations: 0 / 1.392 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.4934, allocations: 63.95 kB / 1.392 GB, free: 2.824 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.4945, allocations: 0.5082 MB / 1.392 GB, free: 2.266 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003906/0.4949, allocations: 146.7 kB / 1.393 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.495, allocations: 4 kB / 1.393 GB, free: 2.109 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.4953, allocations: 119.3 kB / 1.393 GB, free: 1.98 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.4953, allocations: 4 kB / 1.393 GB, free: 1.977 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005989/0.4959, allocations: 229.1 kB / 1.393 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.4959, allocations: 55.41 kB / 1.393 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006419/0.4966, allocations: 488.6 kB / 1.393 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.4966, allocations: 25.7 kB / 1.394 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.4968, allocations: 160.5 kB / 1.394 GB, free: 1.004 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.4969, allocations: 51.62 kB / 1.394 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.4969, allocations: 4 kB / 1.394 GB, free: 0.9492 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002005/0.4971, allocations: 354.8 kB / 1.394 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.4973, allocations: 116.5 kB / 1.394 GB, free: 488 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/0.4976, allocations: 155.6 kB / 1.394 GB, free: 324 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002417/0.4978, allocations: 124.5 kB / 1.394 GB, free: 200 kB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4979, allocations: 0 / 1.394 GB, free: 200 kB / 0.8855 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006657/0.4985, allocations: 366.1 kB / 1.395 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4986, allocations: 4 kB / 1.395 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.4986, allocations: 3.953 kB / 1.395 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.4986, allocations: 4 kB / 1.395 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.4989, allocations: 55.91 kB / 1.395 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4989, allocations: 0 / 1.395 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.4991, allocations: 23.89 kB / 1.395 GB, free: 15.74 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.4991, allocations: 16 kB / 1.395 GB, free: 15.73 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002242/0.4994, allocations: 183.8 kB / 1.395 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.4994, allocations: 39.53 kB / 1.395 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.4999, allocations: 204.7 kB / 1.395 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.4999, allocations: 3.953 kB / 1.395 GB, free: 15.29 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4999, allocations: 3.984 kB / 1.395 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4999, allocations: 3.938 kB / 1.395 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.5003, allocations: 305.5 kB / 1.396 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.5003, allocations: 4 kB / 1.396 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.148e-05/0.5004, allocations: 15.98 kB / 1.396 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5004, allocations: 0 / 1.396 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.5004, allocations: 7.984 kB / 1.396 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5004, allocations: 0 / 1.396 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5004, allocations: 3.953 kB / 1.396 GB, free: 14.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.5008, allocations: 223.5 kB / 1.396 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5009, allocations: 124.7 kB / 1.396 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.501, allocations: 7.938 kB / 1.396 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.5011, allocations: 23.86 kB / 1.396 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.5012, allocations: 19.94 kB / 1.396 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.5012, allocations: 7.984 kB / 1.396 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00036/0.5016, allocations: 319.1 kB / 1.396 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5016, allocations: 0 / 1.396 GB, free: 14.16 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003357/0.5019, allocations: 79.92 kB / 1.396 GB, free: 14.08 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001063/0.503, allocations: 425 kB / 1.397 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.5034, allocations: 199.8 kB / 1.397 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5035, allocations: 0 / 1.397 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.5036, allocations: 75.89 kB / 1.397 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.5041, allocations: 76.31 kB / 1.397 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.5051, allocations: 0.603 MB / 1.398 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.5055, allocations: 0.803 MB / 1.399 GB, free: 12.01 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.5057, allocations: 54.94 kB / 1.399 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.509e-05/0.5058, allocations: 31.42 kB / 1.399 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of SimCode: time 3.4e-07/0.5058, allocations: 0 / 1.399 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of Templates: time 0.008414/0.5142, allocations: 3.955 MB / 1.402 GB, free: 8.004 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches