Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.492/1.492, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 176.8 kB / 316.3 MB, free: 3.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008147/0.0008147, allocations: 88.7 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.498e-05/1.501e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2073, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7245/0.9318, allocations: 132 MB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.9321, allocations: 71.64 kB / 1.014 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004435/0.9365, allocations: 1.469 MB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9366, allocations: 0 / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.9366, allocations: 4 kB / 1.016 GB, free: 4.418 MB / 0.6355 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.0005103/0.9371, allocations: 385 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.9371, allocations: 12.03 kB / 1.016 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.9372, allocations: 7.906 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.9374, allocations: 178.9 kB / 1.016 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.9374, allocations: 4 kB / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.9374, allocations: 0 / 1.016 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001307/0.9376, allocations: 48.61 kB / 1.016 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.9377, allocations: 69.97 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.9377, allocations: 0 / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.9377, allocations: 0 / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.9378, allocations: 8 kB / 1.016 GB, free: 3.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005597/0.9383, allocations: 312.7 kB / 1.017 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.9388, allocations: 87.36 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.9389, allocations: 31.72 kB / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.9389, allocations: 0 / 1.017 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.9389, allocations: 37.69 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.9389, allocations: 0 / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002348/0.9392, allocations: 77.53 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.9392, allocations: 51.41 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.9393, allocations: 119 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.9393, allocations: 29.7 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.9394, allocations: 98.78 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.9394, allocations: 19.31 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.9394, allocations: 0 / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.9396, allocations: 314.8 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.9396, allocations: 23.5 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.771e-05/0.9397, allocations: 19.39 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.9397, allocations: 18.61 kB / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9397, allocations: 0 / 1.018 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001397/0.9399, allocations: 94.58 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9399, allocations: 4 kB / 1.018 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9399, allocations: 3.984 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.9399, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.9401, allocations: 35.59 kB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.9401, allocations: 0 / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.9403, allocations: 27.94 kB / 1.018 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.9403, allocations: 0 / 1.018 GB, free: 2.312 MB / 0.6355 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.437e-05/0.9404, allocations: 101 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.9404, allocations: 7.906 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/0.9404, allocations: 16.17 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.9404, allocations: 0 / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.9405, allocations: 0 / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.9405, allocations: 4.859 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.9407, allocations: 175.6 kB / 1.018 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.9407, allocations: 4 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.9408, allocations: 31.91 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9409, allocations: 0 / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.9409, allocations: 3.984 kB / 1.018 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.9409, allocations: 7.062 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.9409, allocations: 0 / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001975/0.9411, allocations: 188.2 kB / 1.018 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.9411, allocations: 81.02 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.9412, allocations: 0 / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.9413, allocations: 18.52 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.9414, allocations: 22.59 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.9414, allocations: 7.984 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.495e-05/0.9415, allocations: 89.78 kB / 1.018 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9415, allocations: 4 kB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002332/0.9417, allocations: 16.12 kB / 1.018 GB, free: 1.52 MB / 0.6355 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.0001438/0.9419, allocations: 111.1 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000143/0.942, allocations: 51.25 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.9421, allocations: 0 / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.808e-05/0.9421, allocations: 36.73 kB / 1.019 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.9424, allocations: 11.39 kB / 1.019 GB, free: 1.336 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.9427, allocations: 115.1 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.943, allocations: 0.6924 MB / 1.019 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.044e-05/0.9431, allocations: 12.17 kB / 1.019 GB, free: 488 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.9431, allocations: 15.44 kB / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/0.9431, allocations: 0 / 1.019 GB, free: 472 kB / 0.6355 GB Notification: Performance of Templates: time 0.003392/0.9465, allocations: 1.242 MB / 1.021 GB, free: 15.24 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_LessEqual.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches