Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.386/2.386, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001057/0.001057, allocations: 184.9 kB / 498.1 MB, free: 5.785 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.622/1.622, allocations: 223.2 MB / 0.7949 GB, free: 18.93 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.001096/0.001096, allocations: 110.3 kB / 0.9346 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003952, allocations: 8.906 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3157, allocations: 142.4 MB / 1.223 GB, free: 89.61 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.5161, allocations: 149.1 MB / 1.369 GB, free: 4.273 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.5164, allocations: 67.95 kB / 1.369 GB, free: 4.207 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004544/0.521, allocations: 1.44 MB / 1.37 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.302e-06/0.521, allocations: 4 kB / 1.37 GB, free: 2.762 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.521, allocations: 0 / 1.37 GB, free: 2.762 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.0005729/0.5216, allocations: 399 kB / 1.37 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.5216, allocations: 12.03 kB / 1.37 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.5217, allocations: 7.906 kB / 1.37 GB, free: 2.305 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001587/0.5219, allocations: 171 kB / 1.371 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.5219, allocations: 0 / 1.371 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.5219, allocations: 8 kB / 1.371 GB, free: 2.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.5222, allocations: 117 kB / 1.371 GB, free: 1.973 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5223, allocations: 3.984 kB / 1.371 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.5223, allocations: 8 kB / 1.371 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5223, allocations: 0 / 1.371 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003638/0.5227, allocations: 119.9 kB / 1.371 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.5232, allocations: 344.5 kB / 1.371 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.5239, allocations: 138.5 kB / 1.371 GB, free: 1.312 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.5239, allocations: 4 kB / 1.371 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.524, allocations: 34.55 kB / 1.371 GB, free: 1.266 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.524, allocations: 4 kB / 1.371 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0006921/0.5247, allocations: 221.5 kB / 1.372 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.5247, allocations: 51.41 kB / 1.372 GB, free: 0.9766 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.5248, allocations: 109 kB / 1.372 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.5249, allocations: 29.69 kB / 1.372 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.5249, allocations: 100 kB / 1.372 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.525, allocations: 15.72 kB / 1.372 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/0.525, allocations: 0 / 1.372 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5251, allocations: 318.8 kB / 1.372 GB, free: 400 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.5253, allocations: 55.95 kB / 1.372 GB, free: 344 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.5255, allocations: 59.95 kB / 1.372 GB, free: 284 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001835/0.5257, allocations: 59.95 kB / 1.372 GB, free: 224 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5257, allocations: 0 / 1.372 GB, free: 224 kB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004342/0.5262, allocations: 150 kB / 1.372 GB, free: 68 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5262, allocations: 4 kB / 1.372 GB, free: 64 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5262, allocations: 3.984 kB / 1.372 GB, free: 60 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.5262, allocations: 3.938 kB / 1.372 GB, free: 56 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001779/0.5264, allocations: 35.92 kB / 1.372 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.5264, allocations: 0 / 1.372 GB, free: 20 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.5266, allocations: 35.83 kB / 1.373 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.5266, allocations: 4.016 kB / 1.373 GB, free: 15.98 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 (intLesEqu.u1,intLesEqu.u2,intLesEqu.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 0.0001222/0.5267, allocations: 113.8 kB / 1.373 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.5268, allocations: 7.984 kB / 1.373 GB, free: 15.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.606e-05/0.5268, allocations: 8.375 kB / 1.373 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.5268, allocations: 4 kB / 1.373 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.5269, allocations: 7.953 kB / 1.373 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5269, allocations: 0 / 1.373 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.5271, allocations: 201.5 kB / 1.373 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5271, allocations: 0 / 1.373 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.5273, allocations: 31.91 kB / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5273, allocations: 0 / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.5273, allocations: 8 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5273, allocations: 3.984 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5273, allocations: 4 kB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004886/0.5278, allocations: 251.4 kB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/0.5279, allocations: 81.02 kB / 1.373 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.5279, allocations: 0 / 1.373 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.5281, allocations: 23.97 kB / 1.373 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.996e-05/0.5282, allocations: 19.97 kB / 1.373 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.5282, allocations: 8 kB / 1.373 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.5283, allocations: 99.64 kB / 1.373 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5283, allocations: 0 / 1.373 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002325/0.5285, allocations: 19.95 kB / 1.373 GB, free: 15.01 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 (intLesEqu.u1,intLesEqu.u2,intLesEqu.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.0001697/0.5287, allocations: 107.1 kB / 1.373 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.5291, allocations: 131.9 kB / 1.374 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5292, allocations: 0 / 1.374 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002047/0.5294, allocations: 75.89 kB / 1.374 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.5296, allocations: 11.92 kB / 1.374 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.53, allocations: 185.6 kB / 1.374 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.5303, allocations: 0.6965 MB / 1.375 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.772e-05/0.5304, allocations: 8.188 kB / 1.375 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.608e-05/0.5305, allocations: 19.42 kB / 1.375 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of SimCode: time 2.3e-07/0.5305, allocations: 0 / 1.375 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of Templates: time 0.003494/0.534, allocations: 1.312 MB / 1.376 GB, free: 12.41 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches