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.001454/0.001454, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001601/0.001601, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.536/1.536, allocations: 177.1 MB / 203.9 MB, free: 5.57 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 2.862/2.862, allocations: 377.8 MB / 0.6232 GB, free: 8.535 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 2.154e-06/2.154e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.66e-05, allocations: 7.562 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002224/0.00226, allocations: 0.7639 MB / 0.8116 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.003693, allocations: 0.8921 MB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.003749, allocations: 0 / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.388e-05/0.003793, allocations: 7.875 kB / 0.8125 GB, free: 452 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 9.479e-05/0.003888, allocations: 11.88 kB / 0.8125 GB, free: 440 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002165/0.004104, allocations: 45.22 kB / 0.8125 GB, free: 396 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.004249, allocations: 79.83 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.004365, allocations: 27.91 kB / 0.8126 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.004495, allocations: 49.48 kB / 0.8127 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 9.874e-05/0.004594, allocations: 39.89 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.004626, allocations: 8 kB / 0.8127 GB, free: 192 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 2.009e-05/0.004646, allocations: 8 kB / 0.8127 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.004684, allocations: 20.64 kB / 0.8127 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.00474, allocations: 31.89 kB / 0.8128 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.004935, allocations: 88.25 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.004937, allocations: 1.312 kB / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004937, allocations: 0 / 0.8128 GB, free: 44 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004942, allocations: 4 kB / 0.8128 GB, free: 40 kB / 0.7605 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.0007406/0.005683, allocations: 316.1 kB / 0.8132 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.005723, allocations: 11.97 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.005788, allocations: 8.891 kB / 0.8132 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.005958, allocations: 125.7 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.005981, allocations: 9.531 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.006001, allocations: 4.375 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.006352, allocations: 99.39 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.006364, allocations: 3.938 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.006382, allocations: 8 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.006387, allocations: 1.188 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.006817, allocations: 96.59 kB / 0.8135 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.00743, allocations: 274 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006921/0.008122, allocations: 121.2 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.008338, allocations: 48.81 kB / 0.8139 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.00837, allocations: 7.984 kB / 0.8139 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.008404, allocations: 34.56 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.008405, allocations: 0 / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0007891/0.009194, allocations: 184.5 kB / 0.8141 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.009254, allocations: 59.34 kB / 0.8142 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.009399, allocations: 125.8 kB / 0.8143 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.009426, allocations: 27.48 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.901e-05/0.009505, allocations: 96.08 kB / 0.8144 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.506e-05/0.00954, allocations: 19.78 kB / 0.8145 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-05/0.009603, allocations: 25.7 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.009802, allocations: 318.8 kB / 0.8148 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.01001, allocations: 45.3 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.01021, allocations: 53.12 kB / 0.8149 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.0106, allocations: 98.86 kB / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.0106, allocations: 0 / 0.815 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004819/0.01108, allocations: 147.5 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.0111, allocations: 4 kB / 0.8151 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.0111, allocations: 4 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.01112, allocations: 1.312 kB / 0.8151 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.01131, allocations: 23.97 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01132, allocations: 0.9375 kB / 0.8151 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.01145, allocations: 15.98 kB / 0.8152 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.01146, allocations: 1.125 kB / 0.8152 GB, free: 13.52 MB / 0.7761 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.0001204/0.01158, allocations: 121.8 kB / 0.8153 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.01162, allocations: 9.047 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.01216, allocations: 151 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01216, allocations: 1.062 kB / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01217, allocations: 0 / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01217, allocations: 0 / 0.8154 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.01239, allocations: 137.7 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01239, allocations: 1.344 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.01257, allocations: 27.97 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01257, allocations: 4 kB / 0.8156 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.01259, allocations: 8.828 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01259, allocations: 0 / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01259, allocations: 1.344 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.01317, allocations: 240.2 kB / 0.8158 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.01319, allocations: 11.83 kB / 0.8158 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.01321, allocations: 4.656 kB / 0.8159 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.01336, allocations: 16.58 kB / 0.8159 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-05/0.01346, allocations: 26.94 kB / 0.8159 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.01347, allocations: 4 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.143e-05/0.01356, allocations: 91.27 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01356, allocations: 0 / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002589/0.01382, allocations: 12 kB / 0.816 GB, free: 12.61 MB / 0.7761 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.0001718/0.01399, allocations: 103.2 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.01445, allocations: 98.47 kB / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01445, allocations: 0 / 0.8162 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002374/0.01469, allocations: 65.56 kB / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.01505, allocations: 20.92 kB / 0.8163 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005858/0.01563, allocations: 173.8 kB / 0.8164 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.01573, allocations: 81.75 kB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.983e-05/0.0158, allocations: 6.281 kB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.01589, allocations: 24.48 kB / 0.8165 GB, free: 12 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01589, allocations: 8 kB / 0.8165 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of Templates: time 0.005432/0.02132, allocations: 1.714 MB / 0.8182 GB, free: 10.31 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 400] 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: 7.892456141998991]