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.Max.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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 251.9 MB / 266.9 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001156, allocations: 176.2 kB / 326.5 MB, free: 2.234 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.939/1.939, allocations: 205.4 MB / 0.5775 GB, free: 20.18 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.0008659/0.0008657, allocations: 100 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000331/0.000331, allocations: 8.625 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2247, allocations: 106.3 MB / 0.9001 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.4037, allocations: 131.8 MB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.404, allocations: 75.95 kB / 1.029 GB, free: 11.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004544/0.4086, allocations: 1.466 MB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4086, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.4086, allocations: 4 kB / 1.03 GB, free: 10.43 MB / 0.6823 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.0005683/0.4092, allocations: 383.1 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4093, allocations: 16.03 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.4093, allocations: 11.91 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.4095, allocations: 182.8 kB / 1.031 GB, free: 9.758 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.4095, allocations: 4 kB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.4095, allocations: 7.938 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.4098, allocations: 117.6 kB / 1.031 GB, free: 9.625 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.4098, allocations: 4 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.4099, allocations: 0 / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.4099, allocations: 0 / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.4103, allocations: 119.9 kB / 1.031 GB, free: 9.504 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.4108, allocations: 348.6 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005916/0.4114, allocations: 134.6 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.4114, allocations: 0 / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.4115, allocations: 38.5 kB / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 8.51e-07/0.4115, allocations: 0 / 1.032 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006691/0.4121, allocations: 213.6 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.4122, allocations: 55.36 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.4123, allocations: 121 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.4123, allocations: 25.7 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.4124, allocations: 99.98 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.4124, allocations: 15.73 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-06/0.4124, allocations: 8 kB / 1.032 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4126, allocations: 310.8 kB / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.4128, allocations: 55.95 kB / 1.032 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.413, allocations: 63.89 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.4132, allocations: 55.95 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4132, allocations: 0 / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004253/0.4136, allocations: 161.5 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.4136, allocations: 6.188 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4136, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.4137, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.4138, allocations: 35.97 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4139, allocations: 4.5 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.414, allocations: 15.98 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.414, allocations: 3.984 kB / 1.033 GB, free: 7.652 MB / 0.6823 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 (max1.u1,max1.u2,max1.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 9.757e-05/0.4141, allocations: 117.8 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.4142, allocations: 11.91 kB / 1.033 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.4147, allocations: 177.9 kB / 1.033 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4147, allocations: 4 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4147, allocations: 0 / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4147, allocations: 3.953 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.4149, allocations: 193.6 kB / 1.033 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4149, allocations: 0 / 1.033 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.4151, allocations: 35.97 kB / 1.033 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4151, allocations: 4 kB / 1.033 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.4151, allocations: 3.984 kB / 1.033 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4151, allocations: 7.875 kB / 1.033 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4151, allocations: 3.938 kB / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.4156, allocations: 263.3 kB / 1.034 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.4157, allocations: 88.95 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.4157, allocations: 0 / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.4158, allocations: 19.98 kB / 1.034 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.4159, allocations: 23.97 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.416, allocations: 0 / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.815e-05/0.416, allocations: 99.64 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.416, allocations: 0 / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002294/0.4163, allocations: 16 kB / 1.034 GB, free: 6.504 MB / 0.6823 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 (max1.u1,max1.u2,max1.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.000151/0.4164, allocations: 103.9 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.4168, allocations: 127.8 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4168, allocations: 4 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.4171, allocations: 71.94 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.4173, allocations: 9.156 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.4177, allocations: 197.5 kB / 1.034 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.418, allocations: 0.6926 MB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.498e-05/0.4181, allocations: 16.17 kB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.717e-05/0.4182, allocations: 15.42 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of SimCode: time 3.2e-07/0.4182, allocations: 0 / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of Templates: time 0.003275/0.4215, allocations: 1.299 MB / 1.036 GB, free: 3.914 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches