Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.312/2.312, allocations: 393.5 MB / 408.4 MB, free: 11 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.001551/0.001551, allocations: 184 kB / 0.4902 GB, free: 2.23 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.664/1.664, allocations: 223.2 MB / 0.7992 GB, free: 14.72 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.0009895/0.0009896, allocations: 88.33 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003423, allocations: 7.844 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3105, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.5168, allocations: 149.9 MB / 1.376 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/0.5172, allocations: 67.95 kB / 1.376 GB, free: 3.484 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004995/0.5222, allocations: 1.424 MB / 1.377 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5223, allocations: 0 / 1.377 GB, free: 2.059 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.5223, allocations: 0 / 1.377 GB, free: 2.059 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.0006365/0.5229, allocations: 395.1 kB / 1.377 GB, free: 1.625 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.523, allocations: 8.031 kB / 1.377 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/0.523, allocations: 7.906 kB / 1.378 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.5232, allocations: 174.9 kB / 1.378 GB, free: 1.398 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.5232, allocations: 4 kB / 1.378 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.5233, allocations: 8 kB / 1.378 GB, free: 1.387 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.5236, allocations: 121.6 kB / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.5236, allocations: 3.938 kB / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.5236, allocations: 0 / 1.378 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.5237, allocations: 4 kB / 1.378 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000381/0.524, allocations: 115.9 kB / 1.378 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006031/0.5247, allocations: 344.7 kB / 1.378 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.5253, allocations: 138.5 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.124e-05/0.5254, allocations: 4 kB / 1.378 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.5254, allocations: 30.56 kB / 1.378 GB, free: 0.5664 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.5254, allocations: 3.938 kB / 1.378 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.0007451/0.5262, allocations: 229.5 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/0.5262, allocations: 51.41 kB / 1.379 GB, free: 276 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.5263, allocations: 109 kB / 1.379 GB, free: 160 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.5264, allocations: 29.7 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.5264, allocations: 95.98 kB / 1.379 GB, free: 24 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.5265, allocations: 23.73 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.5265, allocations: 0 / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5266, allocations: 322.9 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.5268, allocations: 51.95 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.527, allocations: 55.95 kB / 1.379 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.5272, allocations: 57.58 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5272, allocations: 0 / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000433/0.5277, allocations: 157.5 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.5277, allocations: 12 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5277, allocations: 3.938 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.5277, allocations: 0 / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.5279, allocations: 31.92 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.5279, allocations: 0 / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.5281, allocations: 19.98 kB / 1.38 GB, free: 15.29 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.5281, allocations: 11.98 kB / 1.38 GB, free: 15.27 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 (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 0.0001022/0.5282, allocations: 114.6 kB / 1.38 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.5283, allocations: 7.906 kB / 1.38 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005311/0.5288, allocations: 177.8 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5288, allocations: 0 / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5288, allocations: 3.953 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5288, allocations: 3.984 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002146/0.5291, allocations: 197.6 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5291, allocations: 4 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.5292, allocations: 27.97 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5293, allocations: 0 / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/0.5293, allocations: 7.984 kB / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5293, allocations: 0 / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5293, allocations: 0 / 1.38 GB, free: 14.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.5298, allocations: 267.3 kB / 1.38 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.5299, allocations: 88.89 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.5299, allocations: 7.938 kB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.53, allocations: 19.98 kB / 1.381 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.5301, allocations: 15.97 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.5302, allocations: 7.984 kB / 1.381 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.959e-05/0.5302, allocations: 91.28 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5302, allocations: 4 kB / 1.381 GB, free: 14.15 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002466/0.5305, allocations: 27.88 kB / 1.381 GB, free: 14.12 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 (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.0001658/0.5307, allocations: 99.38 kB / 1.381 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004439/0.5311, allocations: 128.6 kB / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.5311, allocations: 0 / 1.381 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.5313, allocations: 79.88 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.5316, allocations: 5.203 kB / 1.381 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.5321, allocations: 189.3 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.5324, allocations: 0.7004 MB / 1.382 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.249e-05/0.5325, allocations: 8.188 kB / 1.382 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.5325, allocations: 19.42 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of SimCode: time 4.01e-07/0.5325, allocations: 0 / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of Templates: time 0.00381/0.5363, allocations: 1.294 MB / 1.383 GB, free: 11.55 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches