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.Min.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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.433/1.433, allocations: 251.9 MB / 266.9 MB, free: 11 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.001229/0.001229, allocations: 187.6 kB / 326.5 MB, free: 2.242 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.703/1.703, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008456/0.0008456, allocations: 82.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003184/0.0003184, allocations: 11.59 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2192/0.2196, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.3981, allocations: 131.8 MB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/0.3984, allocations: 75.95 kB / 1.029 GB, free: 11.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0044/0.4028, allocations: 1.454 MB / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4028, allocations: 0 / 1.03 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.396e-06/0.4028, allocations: 4 kB / 1.03 GB, free: 10.42 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.0005601/0.4034, allocations: 387.1 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.4034, allocations: 16.02 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.4035, allocations: 7.906 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.4037, allocations: 182.8 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.4037, allocations: 4 kB / 1.031 GB, free: 9.746 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.4037, allocations: 7.984 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.404, allocations: 113.6 kB / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.404, allocations: 0 / 1.031 GB, free: 9.621 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.4041, allocations: 4 kB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4041, allocations: 0 / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003788/0.4045, allocations: 123.9 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.405, allocations: 348.6 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.4057, allocations: 130.6 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.4058, allocations: 3.938 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.4058, allocations: 34.55 kB / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.4058, allocations: 0 / 1.032 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006829/0.4065, allocations: 209.5 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.4065, allocations: 63.36 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.609e-05/0.4066, allocations: 113.3 kB / 1.032 GB, free: 8.52 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.4067, allocations: 29.7 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.4067, allocations: 95.98 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.4068, allocations: 19.89 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.4068, allocations: 0 / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4069, allocations: 322.8 kB / 1.032 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001882/0.4071, allocations: 55.95 kB / 1.032 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.4073, allocations: 59.89 kB / 1.033 GB, free: 7.93 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.4075, allocations: 56.42 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4075, allocations: 3.938 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004161/0.4079, allocations: 165.5 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.4079, allocations: 4 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.408, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.408, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.4082, allocations: 35.97 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.4082, allocations: 3.953 kB / 1.033 GB, free: 7.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.4083, allocations: 19.98 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.4083, allocations: 0 / 1.033 GB, free: 7.641 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 (min1.u1,min1.u2,min1.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.305e-05/0.4084, allocations: 125.8 kB / 1.033 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.4085, allocations: 7.906 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004665/0.4089, allocations: 166 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4089, allocations: 0 / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.409, allocations: 4 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.409, allocations: 3.953 kB / 1.033 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.4092, allocations: 201.6 kB / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4092, allocations: 0 / 1.033 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.4094, allocations: 35.97 kB / 1.033 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.4094, allocations: 0 / 1.033 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.4094, allocations: 7.938 kB / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.4094, allocations: 0 / 1.033 GB, free: 7.039 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4094, allocations: 7.922 kB / 1.033 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.4099, allocations: 251.3 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.615e-05/0.41, allocations: 92.94 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.41, allocations: 0 / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.4102, allocations: 23.98 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.4102, allocations: 19.97 kB / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.4103, allocations: 0 / 1.034 GB, free: 6.617 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.039e-05/0.4103, allocations: 103.3 kB / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4103, allocations: 0 / 1.034 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000224/0.4106, allocations: 12 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 (min1.u1,min1.u2,min1.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.0001466/0.4107, allocations: 111.8 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000422/0.4111, allocations: 127.9 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4112, allocations: 0 / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002064/0.4114, allocations: 71.94 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.4116, allocations: 11.95 kB / 1.034 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.412, allocations: 193.5 kB / 1.034 GB, free: 5.949 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.4123, allocations: 0.6926 MB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 7.656e-05/0.4124, allocations: 16.17 kB / 1.035 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.4124, allocations: 15.38 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.4124, allocations: 4 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of Templates: time 0.003491/0.4159, allocations: 1.31 MB / 1.036 GB, free: 3.898 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches