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.0007865/0.0007865, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.001903, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001071/0.001071, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001411/0.002482, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9432/0.9432, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0911/1.034, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.935/1.935, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5262/2.461, allocations: 123.3 MB / 0.7283 GB, free: 5.734 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.633e-06/1.633e-06, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.59e-05, allocations: 3 kB / 0.7297 GB, free: 4.402 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001724/0.00174, allocations: 0.8214 MB / 0.7305 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.002699, allocations: 0.9201 MB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.002736, allocations: 0.6562 kB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.002768, allocations: 11.86 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.406e-05/0.002822, allocations: 7.547 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.002928, allocations: 43.94 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.003044, allocations: 80.05 kB / 0.7315 GB, free: 2.562 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.003141, allocations: 32.56 kB / 0.7315 GB, free: 2.531 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.003266, allocations: 56.33 kB / 0.7316 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.003352, allocations: 43 kB / 0.7316 GB, free: 2.441 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.95e-05/0.003381, allocations: 8.656 kB / 0.7316 GB, free: 2.434 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.708e-05/0.003399, allocations: 8 kB / 0.7316 GB, free: 2.426 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.003423, allocations: 11.94 kB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.003455, allocations: 21.09 kB / 0.7317 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.003579, allocations: 49.23 kB / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.003591, allocations: 0 / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.01e-07/0.003592, allocations: 0 / 0.7317 GB, free: 2.352 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.003606, allocations: 0 / 0.7317 GB, free: 2.352 MB / 0.698 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.0004902/0.004096, allocations: 296.8 kB / 0.732 GB, free: 2.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.004132, allocations: 8.562 kB / 0.732 GB, free: 2.031 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.004173, allocations: 13.83 kB / 0.732 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.702e-05/0.00427, allocations: 113.7 kB / 0.7321 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.004295, allocations: 8.375 kB / 0.7321 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.004315, allocations: 4.969 kB / 0.7321 GB, free: 1.871 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.004506, allocations: 91.55 kB / 0.7322 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.004515, allocations: 4.594 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.004524, allocations: 1.062 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.00453, allocations: 0 / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.273e-05/0.004583, allocations: 23.92 kB / 0.7323 GB, free: 1.746 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.004895, allocations: 201.2 kB / 0.7324 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.005158, allocations: 68.08 kB / 0.7325 GB, free: 1.461 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.005193, allocations: 24.83 kB / 0.7325 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.95e-05/0.005213, allocations: 4.812 kB / 0.7325 GB, free: 1.43 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.005236, allocations: 34.55 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.005237, allocations: 1.094 kB / 0.7326 GB, free: 1.387 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000169/0.005406, allocations: 65.66 kB / 0.7326 GB, free: 1.316 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.005441, allocations: 52.38 kB / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.436e-05/0.005506, allocations: 134.6 kB / 0.7328 GB, free: 1.109 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.005518, allocations: 25.7 kB / 0.7328 GB, free: 1.078 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.251e-05/0.00555, allocations: 93.75 kB / 0.7329 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.005573, allocations: 19.86 kB / 0.733 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.005603, allocations: 25.62 kB / 0.733 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/0.005679, allocations: 322.8 kB / 0.7333 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.005696, allocations: 4.875 kB / 0.7333 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.854e-05/0.005714, allocations: 11.98 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.005757, allocations: 25.94 kB / 0.7333 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.005759, allocations: 3.938 kB / 0.7333 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.075e-05/0.00583, allocations: 67.41 kB / 0.7334 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.005841, allocations: 4 kB / 0.7334 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.005846, allocations: 4 kB / 0.7334 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.005857, allocations: 0 / 0.7334 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.923e-05/0.005936, allocations: 29.12 kB / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.005938, allocations: 0 / 0.7334 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.308e-05/0.005972, allocations: 11.92 kB / 0.7334 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.005977, allocations: 4.656 kB / 0.7334 GB, free: 452 kB / 0.698 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 5.566e-05/0.006032, allocations: 114.9 kB / 0.7336 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.006047, allocations: 4 kB / 0.7336 GB, free: 324 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.756e-05/0.006145, allocations: 70.64 kB / 0.7336 GB, free: 244 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.006148, allocations: 9.188 kB / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-06/0.006149, allocations: 0 / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.006152, allocations: 0 / 0.7336 GB, free: 236 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.179e-05/0.006244, allocations: 91.08 kB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.006244, allocations: 3.938 kB / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.511e-05/0.006299, allocations: 23.97 kB / 0.7337 GB, free: 100 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-06/0.006309, allocations: 12.92 kB / 0.7338 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006311, allocations: 0 / 0.7338 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.006318, allocations: 7.984 kB / 0.7338 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006318, allocations: 0.5312 kB / 0.7338 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006319, allocations: 1.562 kB / 0.7338 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.006435, allocations: 160.1 kB / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.006445, allocations: 0 / 0.7339 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.638e-05/0.006492, allocations: 7.984 kB / 0.7339 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.006545, allocations: 25.19 kB / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.00655, allocations: 4 kB / 0.734 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.619e-05/0.006566, allocations: 24.77 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006566, allocations: 0.5 kB / 0.734 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000117/0.006683, allocations: 12.75 kB / 0.734 GB, free: 15.83 MB / 0.7136 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 7.3e-05/0.006756, allocations: 81.17 kB / 0.7341 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.159e-05/0.006837, allocations: 33.69 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.006843, allocations: 4 kB / 0.7341 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/0.006886, allocations: 38.17 kB / 0.7341 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.007047, allocations: 75.33 kB / 0.7342 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.007431, allocations: 170.2 kB / 0.7344 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.06e-05/0.007462, allocations: 64.31 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.059e-05/0.007502, allocations: 16.25 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.007581, allocations: 71.34 kB / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.007582, allocations: 0 / 0.7345 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of Templates: time 0.002815/0.0104, allocations: 1.684 MB / 0.7362 GB, free: 13.62 MB / 0.7136 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Min.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.071809530258179]