Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 79.7 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002243/0.002243, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.584/1.584, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.041/3.041, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.166e-06/3.166e-06, allocations: 0 / 0.8108 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.272e-05/3.589e-05, allocations: 4.188 kB / 0.8108 GB, free: 0.9453 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002196/0.002232, allocations: 0.7602 MB / 0.8116 GB, free: 212 kB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.003558, allocations: 0.8923 MB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.729e-05/0.003606, allocations: 0 / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.003646, allocations: 5 kB / 0.8124 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.003763, allocations: 20.73 kB / 0.8125 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.003958, allocations: 45.23 kB / 0.8125 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.004097, allocations: 87.66 kB / 0.8126 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.004218, allocations: 19.98 kB / 0.8126 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.00435, allocations: 51.89 kB / 0.8126 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.004442, allocations: 40.97 kB / 0.8127 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.04e-05/0.004472, allocations: 8 kB / 0.8127 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.966e-05/0.004492, allocations: 8 kB / 0.8127 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.004525, allocations: 16.45 kB / 0.8127 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.16e-05/0.004577, allocations: 33.14 kB / 0.8127 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.004755, allocations: 91.66 kB / 0.8128 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004757, allocations: 4 kB / 0.8128 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004758, allocations: 2.062 kB / 0.8128 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.004762, allocations: 0 / 0.8128 GB, free: 14.89 MB / 0.7292 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.0006853/0.005447, allocations: 408 kB / 0.8132 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.005488, allocations: 8.031 kB / 0.8132 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.005553, allocations: 20.88 kB / 0.8133 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.005728, allocations: 117 kB / 0.8134 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.005753, allocations: 9.25 kB / 0.8134 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.005772, allocations: 4.375 kB / 0.8134 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.006042, allocations: 106.8 kB / 0.8135 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.006054, allocations: 3.938 kB / 0.8135 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.006067, allocations: 0 / 0.8135 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.006071, allocations: 0 / 0.8135 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.006339, allocations: 73.83 kB / 0.8136 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007696/0.007108, allocations: 335.5 kB / 0.8139 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005809/0.007689, allocations: 117.5 kB / 0.814 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.007835, allocations: 47.66 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.007866, allocations: 3.984 kB / 0.814 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.007899, allocations: 37.39 kB / 0.8141 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.0079, allocations: 0 / 0.8141 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0005771/0.008477, allocations: 158.6 kB / 0.8142 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.659e-05/0.008524, allocations: 52.12 kB / 0.8143 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.00869, allocations: 193.8 kB / 0.8145 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.008714, allocations: 26.92 kB / 0.8145 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.639e-05/0.00881, allocations: 142.8 kB / 0.8146 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.008849, allocations: 27.78 kB / 0.8146 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.008911, allocations: 28.89 kB / 0.8147 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002661/0.009177, allocations: 0.4922 MB / 0.8152 GB, free: 12.33 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.00931, allocations: 35.97 kB / 0.8152 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.009431, allocations: 33.92 kB / 0.8152 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.009692, allocations: 84.09 kB / 0.8153 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.009694, allocations: 0 / 0.8153 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003423/0.01004, allocations: 118.9 kB / 0.8154 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.01005, allocations: 4 kB / 0.8154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01006, allocations: 0 / 0.8154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.01008, allocations: 5.219 kB / 0.8154 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.01022, allocations: 19.97 kB / 0.8154 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01023, allocations: 0 / 0.8154 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.902e-05/0.01031, allocations: 4.531 kB / 0.8155 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01032, allocations: 4.531 kB / 0.8155 GB, free: 12.02 MB / 0.7292 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.0001476/0.01047, allocations: 169.4 kB / 0.8156 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.0105, allocations: 7.953 kB / 0.8156 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.01089, allocations: 131.3 kB / 0.8157 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.01089, allocations: 5.312 kB / 0.8158 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.0109, allocations: 8 kB / 0.8158 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.0109, allocations: 0 / 0.8158 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002134/0.01112, allocations: 148.5 kB / 0.8159 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01112, allocations: 1.156 kB / 0.8159 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.01125, allocations: 19.98 kB / 0.8159 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.01125, allocations: 3.984 kB / 0.8159 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.01126, allocations: 0.7812 kB / 0.8159 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01126, allocations: 0 / 0.8159 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01127, allocations: 0.9062 kB / 0.8159 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004421/0.01171, allocations: 280.5 kB / 0.8162 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.01173, allocations: 7.953 kB / 0.8162 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.01175, allocations: 1.281 kB / 0.8162 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.01186, allocations: 7.984 kB / 0.8162 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.598e-05/0.01195, allocations: 27.97 kB / 0.8162 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.01196, allocations: 0.6875 kB / 0.8162 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.695e-05/0.01206, allocations: 139.2 kB / 0.8164 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01206, allocations: 0.875 kB / 0.8164 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002324/0.01229, allocations: 19.94 kB / 0.8164 GB, free: 11 MB / 0.7292 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.0001512/0.01244, allocations: 96.81 kB / 0.8165 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.01278, allocations: 92.56 kB / 0.8166 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01278, allocations: 0 / 0.8166 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.01296, allocations: 67 kB / 0.8166 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.01325, allocations: 19.92 kB / 0.8167 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004998/0.01375, allocations: 182.7 kB / 0.8168 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.658e-05/0.01383, allocations: 71.58 kB / 0.8169 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.228e-05/0.01389, allocations: 10.81 kB / 0.8169 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.01397, allocations: 29.08 kB / 0.8169 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of SimCode: time 7.32e-07/0.01397, allocations: 2.281 kB / 0.8169 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.005311/0.01928, allocations: 1.717 MB / 0.8186 GB, free: 8.715 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.264336154912598]