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.LessThreshold.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.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLesThr.t|intLesThr.u|intLesThr.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.573/1.573, allocations: 249.3 MB / 261.9 MB, free: 5.914 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.001027/0.001027, allocations: 170.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.0008399/0.0008398, allocations: 88.17 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.189e-05/3.191e-05, allocations: 7.984 kB / 0.788 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2205, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7569/0.9774, allocations: 131.6 MB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.9777, allocations: 72.89 kB / 1.02 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002885/0.9806, allocations: 0.9685 MB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9807, allocations: 2.734 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.9807, allocations: 4 kB / 1.021 GB, free: 2.129 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003959/0.9811, allocations: 345.7 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.9811, allocations: 8.031 kB / 1.022 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.9812, allocations: 7.906 kB / 1.022 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.9813, allocations: 174.9 kB / 1.022 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.9814, allocations: 4 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.9814, allocations: 10 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.9815, allocations: 53.36 kB / 1.022 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.9815, allocations: 4 kB / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.9815, allocations: 0 / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.9816, allocations: 0 / 1.022 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.675e-05/0.9816, allocations: 31.48 kB / 1.022 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000411/0.9821, allocations: 284.4 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.905e-05/0.9822, allocations: 56.25 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.667e-05/0.9822, allocations: 16.64 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.9822, allocations: 0 / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.9823, allocations: 30.56 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.9823, allocations: 0 / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001887/0.9825, allocations: 67.73 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.9825, allocations: 51.41 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.9826, allocations: 108.7 kB / 1.023 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.9826, allocations: 25.7 kB / 1.023 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.9827, allocations: 87.7 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.9827, allocations: 7.812 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.9827, allocations: 3.875 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.9828, allocations: 317.4 kB / 1.023 GB, free: 356 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.9829, allocations: 10.94 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.463e-05/0.9829, allocations: 11.94 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/0.9829, allocations: 11.88 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.9829, allocations: 0 / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001052/0.9831, allocations: 72.61 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.9831, allocations: 4 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9831, allocations: 0 / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.9831, allocations: 0 / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.9832, allocations: 15.98 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.9833, allocations: 0 / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/0.9833, allocations: 15.98 kB / 1.023 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.9834, allocations: 3.953 kB / 1.023 GB, free: 224 kB / 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: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.553e-05/0.9834, allocations: 108.9 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.9835, allocations: 7.844 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.9835, allocations: 11.16 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.9835, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.9835, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.9835, allocations: 0 / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.9837, allocations: 180.8 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.9837, allocations: 8 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.252e-05/0.9838, allocations: 19.92 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.9838, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.9839, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9839, allocations: 4 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9839, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.984, allocations: 162.1 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.117e-05/0.9841, allocations: 81.02 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.9841, allocations: 4 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.9842, allocations: 11.98 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.9843, allocations: 11.8 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-06/0.9843, allocations: 0 / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.658e-05/0.9844, allocations: 91.97 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9844, allocations: 0 / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002008/0.9846, allocations: 12 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.u,intLesThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001336/0.9847, allocations: 108.2 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.9848, allocations: 35.11 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9849, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.34e-05/0.9849, allocations: 19.56 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001664/0.9851, allocations: 7.953 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.9853, allocations: 80.22 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.9856, allocations: 0.6867 MB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.932e-05/0.9857, allocations: 8.234 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.9857, allocations: 11.44 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of SimCode: time 4.1e-07/0.9857, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of Templates: time 0.00286/0.9886, allocations: 0.7432 MB / 1.025 GB, free: 13.75 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches