Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001195/0.001195, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001466/0.001466, allocations: 161 kB / 24.16 MB, free: 332 kB / 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 0.9837/0.9837, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.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 2.059/2.059, allocations: 377.9 MB / 0.624 GB, free: 8.336 MB / 0.5886 GB " [Timeout remaining time 177] 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.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.952e-05, allocations: 4.922 kB / 0.7601 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.00193/0.001959, allocations: 0.8234 MB / 0.7609 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001062/0.003021, allocations: 0.9118 MB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.923e-05/0.00307, allocations: 0 / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.003106, allocations: 7.875 kB / 0.7618 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.767e-05/0.003203, allocations: 19.86 kB / 0.7618 GB, free: 4.793 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.003387, allocations: 37.11 kB / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.003505, allocations: 81.25 kB / 0.7619 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.003612, allocations: 29.11 kB / 0.7619 GB, free: 4.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/0.003743, allocations: 47.45 kB / 0.762 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.003825, allocations: 46.61 kB / 0.762 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.003853, allocations: 9.25 kB / 0.762 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.003868, allocations: 8 kB / 0.762 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.003899, allocations: 19.97 kB / 0.7621 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.046e-05/0.00393, allocations: 25.17 kB / 0.7621 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.004059, allocations: 67.72 kB / 0.7621 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.004063, allocations: 3.984 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.004064, allocations: 1.25 kB / 0.7622 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.00407, allocations: 0 / 0.7622 GB, free: 4.445 MB / 0.7136 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.000435/0.004505, allocations: 272.7 kB / 0.7624 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.004551, allocations: 13.06 kB / 0.7624 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/0.004596, allocations: 8.938 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.004709, allocations: 121.6 kB / 0.7625 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.004731, allocations: 8.844 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.004745, allocations: 9.781 kB / 0.7626 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.004931, allocations: 94.27 kB / 0.7627 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.004943, allocations: 4.469 kB / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.004954, allocations: 0 / 0.7627 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.004963, allocations: 5.219 kB / 0.7627 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.92e-05/0.005012, allocations: 23.98 kB / 0.7627 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.005369, allocations: 192.9 kB / 0.7629 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.005626, allocations: 67.81 kB / 0.7629 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.992e-05/0.005656, allocations: 12.86 kB / 0.7629 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.005676, allocations: 9.578 kB / 0.763 GB, free: 3.547 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.005702, allocations: 30.56 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.005704, allocations: 0 / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001732/0.005877, allocations: 78.45 kB / 0.7631 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.005909, allocations: 51.41 kB / 0.7631 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.374e-05/0.005982, allocations: 123.7 kB / 0.7632 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.005996, allocations: 25.7 kB / 0.7633 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.006039, allocations: 92.11 kB / 0.7633 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.006067, allocations: 26.86 kB / 0.7634 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.006107, allocations: 25.69 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.363e-05/0.006201, allocations: 322.8 kB / 0.7637 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.006222, allocations: 4 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.006243, allocations: 8 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.797e-05/0.006301, allocations: 32.77 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.006304, allocations: 7.938 kB / 0.7638 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.865e-05/0.006393, allocations: 61.16 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.006408, allocations: 4 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.006414, allocations: 0 / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.006431, allocations: 7.938 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.835e-05/0.006529, allocations: 19.97 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.006533, allocations: 80 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/0.006571, allocations: 5.5 kB / 0.7638 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.006583, allocations: 11.98 kB / 0.7639 GB, free: 2.562 MB / 0.7136 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,max1.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 7.491e-05/0.006657, allocations: 121.7 kB / 0.764 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.198e-05/0.006679, allocations: 4 kB / 0.764 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.006809, allocations: 71.53 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.006813, allocations: 0 / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.006815, allocations: 1.25 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.00682, allocations: 4 kB / 0.764 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.006934, allocations: 89.75 kB / 0.7641 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006936, allocations: 4.531 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.006999, allocations: 16.77 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.007004, allocations: 7.922 kB / 0.7642 GB, free: 2.219 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.007012, allocations: 4.656 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.007013, allocations: 0 / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007015, allocations: 5.594 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.007122, allocations: 155.5 kB / 0.7643 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.007133, allocations: 7.891 kB / 0.7643 GB, free: 2.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.007144, allocations: 4 kB / 0.7643 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.007198, allocations: 14.42 kB / 0.7643 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.572e-05/0.007253, allocations: 19.97 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.007258, allocations: 0 / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.955e-05/0.007278, allocations: 21.22 kB / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007278, allocations: 0 / 0.7644 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001343/0.007412, allocations: 16 kB / 0.7644 GB, free: 1.961 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 (max1.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.0001009/0.007513, allocations: 83.06 kB / 0.7645 GB, free: 1.875 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.938e-05/0.007612, allocations: 40.77 kB / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.007616, allocations: 0 / 0.7645 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.007658, allocations: 28.84 kB / 0.7645 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.007818, allocations: 14.09 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.008121, allocations: 178.1 kB / 0.7647 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.726e-05/0.008158, allocations: 63.86 kB / 0.7648 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.753e-05/0.008205, allocations: 15.42 kB / 0.7648 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.008288, allocations: 69.8 kB / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of SimCode: time 8.21e-07/0.008288, allocations: 0 / 0.7649 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of Templates: time 0.003289/0.01158, allocations: 1.683 MB / 0.7665 GB, free: 15.82 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.252367147244513]