Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.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.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesEqu.u1|intLesEqu.u2|intLesEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.421/2.421, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001107/0.001107, allocations: 180.3 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.001243/0.001243, allocations: 99.47 kB / 0.9318 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.552e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.345, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.401, allocations: 149.9 MB / 1.365 GB, free: 4.086 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/1.401, allocations: 73.7 kB / 1.365 GB, free: 4.047 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004477/1.406, allocations: 1.44 MB / 1.367 GB, free: 2.773 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.473e-06/1.406, allocations: 0 / 1.367 GB, free: 2.773 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.085e-06/1.406, allocations: 4 kB / 1.367 GB, free: 2.77 MB / 0.823 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.0005442/1.406, allocations: 381.2 kB / 1.367 GB, free: 2.359 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/1.407, allocations: 12.03 kB / 1.367 GB, free: 2.348 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/1.407, allocations: 11.84 kB / 1.367 GB, free: 2.336 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/1.407, allocations: 174 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/1.407, allocations: 8 kB / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/1.407, allocations: 7.188 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/1.407, allocations: 74.91 kB / 1.367 GB, free: 2.055 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.407, allocations: 3.938 kB / 1.367 GB, free: 2.051 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/1.407, allocations: 4 kB / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/1.407, allocations: 0 / 1.367 GB, free: 2.047 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/1.407, allocations: 51.86 kB / 1.367 GB, free: 2.012 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/1.408, allocations: 348 kB / 1.368 GB, free: 1.66 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/1.408, allocations: 94.84 kB / 1.368 GB, free: 1.578 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/1.408, allocations: 27.17 kB / 1.368 GB, free: 1.559 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/1.408, allocations: 0 / 1.368 GB, free: 1.559 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/1.408, allocations: 42.55 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/1.408, allocations: 0 / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002409/1.409, allocations: 93.72 kB / 1.368 GB, free: 1.426 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/1.409, allocations: 51.41 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/1.409, allocations: 117.7 kB / 1.368 GB, free: 1.25 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/1.409, allocations: 25.7 kB / 1.368 GB, free: 1.219 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/1.409, allocations: 103 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/1.409, allocations: 19.05 kB / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/1.409, allocations: 0 / 1.368 GB, free: 1.105 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.409, allocations: 326.5 kB / 1.369 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.99e-05/1.409, allocations: 18 kB / 1.369 GB, free: 0.7695 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.398e-05/1.409, allocations: 21.69 kB / 1.369 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.126e-05/1.409, allocations: 22.23 kB / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.409, allocations: 0 / 1.369 GB, free: 0.7422 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001531/1.409, allocations: 85.84 kB / 1.369 GB, free: 0.668 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.409, allocations: 5.406 kB / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/1.409, allocations: 0 / 1.369 GB, free: 0.6641 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.409, allocations: 11.88 kB / 1.369 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/1.41, allocations: 31.97 kB / 1.369 GB, free: 0.6211 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.41, allocations: 4 kB / 1.369 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/1.41, allocations: 15.98 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.41, allocations: 3.984 kB / 1.369 GB, free: 0.5977 MB / 0.823 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 (intLesEqu.u1,intLesEqu.u2,intLesEqu.y) * Number of discrete 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 7.808e-05/1.41, allocations: 108.9 kB / 1.369 GB, free: 500 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/1.41, allocations: 7.906 kB / 1.369 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/1.41, allocations: 16.3 kB / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/1.41, allocations: 0 / 1.369 GB, free: 476 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.41, allocations: 3.953 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.41, allocations: 0 / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/1.41, allocations: 201.2 kB / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/1.41, allocations: 0 / 1.369 GB, free: 236 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/1.41, allocations: 31.09 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.41, allocations: 7.938 kB / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/1.41, allocations: 0 / 1.369 GB, free: 200 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/1.41, allocations: 7.938 kB / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.41, allocations: 0 / 1.369 GB, free: 192 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/1.411, allocations: 182 kB / 1.369 GB, free: 12 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.287e-05/1.411, allocations: 85.02 kB / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/1.411, allocations: 0 / 1.369 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/1.411, allocations: 27.59 kB / 1.369 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.64e-05/1.411, allocations: 22.03 kB / 1.369 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/1.411, allocations: 0 / 1.369 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.36e-05/1.411, allocations: 99.53 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.411, allocations: 0 / 1.369 GB, free: 15.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002173/1.411, allocations: 16 kB / 1.369 GB, free: 15.77 MB / 0.8386 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 (intLesEqu.u1,intLesEqu.u2,intLesEqu.y) * Number of discrete 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.0001615/1.411, allocations: 111.8 kB / 1.37 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001559/1.412, allocations: 65.78 kB / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.412, allocations: 0 / 1.37 GB, free: 15.61 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.522e-05/1.412, allocations: 34.81 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/1.412, allocations: 12.56 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/1.412, allocations: 113.7 kB / 1.37 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/1.412, allocations: 0.6965 MB / 1.37 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.632e-05/1.413, allocations: 8.188 kB / 1.371 GB, free: 14.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/1.413, allocations: 15.42 kB / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.413, allocations: 7.938 kB / 1.371 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of Templates: time 0.003383/1.416, allocations: 1.309 MB / 1.372 GB, free: 13.4 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches