Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001601, allocations: 115.3 kB / 15.34 MB, free: 0.5117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 195.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.765/2.765, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 68.09 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.7563, allocations: 151.6 MB / 1.017 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002158/0.7585, allocations: 0.8397 MB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001007/0.7596, allocations: 0.8623 MB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.748e-05/0.7596, allocations: 4 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.7597, allocations: 3.938 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.028e-05/0.7598, allocations: 3.938 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.7599, allocations: 43.89 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.7601, allocations: 79.89 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.7602, allocations: 27.97 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.7603, allocations: 43.83 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.519e-05/0.7604, allocations: 51.77 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.7604, allocations: 8 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.7604, allocations: 8 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.7605, allocations: 23.91 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.7605, allocations: 35.8 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.7607, allocations: 87.72 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.7607, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7607, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.7607, allocations: 0 / 1.019 GB, free: 0.7031 MB / 0.7637 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.0006141/0.7613, allocations: 389.1 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.7614, allocations: 8.031 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.7614, allocations: 16.84 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.7616, allocations: 180.2 kB / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.7616, allocations: 384 / 1.019 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.7616, allocations: 8.375 kB / 1.019 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003315/0.762, allocations: 113.7 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.762, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.762, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.762, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.7624, allocations: 99.91 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006664/0.763, allocations: 344.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.7638, allocations: 122.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.764, allocations: 52.81 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.764, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.764, allocations: 38.56 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.764, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0008833/0.7649, allocations: 193.3 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.765, allocations: 51.41 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.7651, allocations: 125.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.7652, allocations: 29.7 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/0.7652, allocations: 96.08 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.7653, allocations: 19.66 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/0.7653, allocations: 25.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7655, allocations: 326.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.7657, allocations: 43.95 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.7658, allocations: 47.95 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004142/0.7663, allocations: 96.77 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.7663, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004045/0.7667, allocations: 145.4 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.7667, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.7667, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7667, allocations: 4 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.7669, allocations: 23.97 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.7669, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.7671, allocations: 19.91 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.383e-05/0.7671, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 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 (reaToInt1.y,reaToInt.y,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.7673, allocations: 121.8 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.7673, allocations: 7.906 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.7678, allocations: 150.4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.7678, allocations: 4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7678, allocations: 0 / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7679, allocations: 7.938 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.7681, allocations: 197.6 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7681, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.7683, allocations: 23.97 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.7683, allocations: 8 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.7683, allocations: 3.984 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7683, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7684, allocations: 0 / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004619/0.7688, allocations: 247.3 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.7689, allocations: 85.02 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.7689, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.7691, allocations: 15.97 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.7692, allocations: 19.92 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.7692, allocations: 11.94 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.7693, allocations: 95.27 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7693, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002256/0.7695, allocations: 15.94 kB / 1.022 GB, free: 12.8 MB / 0.7794 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.y,reaToInt.y,reaToInt1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001246/0.7697, allocations: 107.2 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004523/0.7701, allocations: 107.8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7701, allocations: 4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002011/0.7703, allocations: 59.94 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.7707, allocations: 10.25 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.7711, allocations: 202.3 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/0.7714, allocations: 0.6885 MB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.044e-05/0.7714, allocations: 12 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.381e-05/0.7715, allocations: 19.42 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7715, allocations: 0 / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of Templates: time 0.003998/0.7755, allocations: 1.4 MB / 1.025 GB, free: 10.15 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches