Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001019/0.001019, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001212/0.001212, allocations: 170 kB / 24.86 MB, free: 9.289 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 0.992/0.992, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.833/1.833, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.295e-05, allocations: 3.562 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002141/0.002164, allocations: 0.7849 MB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.003794, allocations: 0.9139 MB / 0.79 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.003869, allocations: 4 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.785e-05/0.003917, allocations: 4.812 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.004056, allocations: 12.48 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.00431, allocations: 39.84 kB / 0.79 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.004474, allocations: 93.16 kB / 0.7901 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.004607, allocations: 15.92 kB / 0.7901 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001409/0.004748, allocations: 59.88 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.00484, allocations: 37.06 kB / 0.7902 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.004871, allocations: 11.94 kB / 0.7902 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.004888, allocations: 8 kB / 0.7902 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.004919, allocations: 17.23 kB / 0.7903 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.004957, allocations: 23.91 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.005102, allocations: 67.73 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005105, allocations: 0 / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005105, allocations: 1.562 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.00511, allocations: 0 / 0.7903 GB, free: 10.13 MB / 0.7448 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.0004873/0.005597, allocations: 404.4 kB / 0.7907 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.005636, allocations: 13.06 kB / 0.7907 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.005679, allocations: 8.891 kB / 0.7908 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.005786, allocations: 124.5 kB / 0.7909 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.005809, allocations: 5.438 kB / 0.7909 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.005821, allocations: 8.312 kB / 0.7909 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.006025, allocations: 96.05 kB / 0.791 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.006035, allocations: 3.938 kB / 0.791 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.006046, allocations: 4 kB / 0.791 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.006052, allocations: 1.594 kB / 0.791 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.694e-05/0.006119, allocations: 23.97 kB / 0.791 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.006532, allocations: 305.5 kB / 0.7913 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.006864, allocations: 75.12 kB / 0.7914 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.006906, allocations: 22.52 kB / 0.7914 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.006925, allocations: 4 kB / 0.7914 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.006947, allocations: 33.39 kB / 0.7914 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.006949, allocations: 0 / 0.7914 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002346/0.007184, allocations: 81.59 kB / 0.7915 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001695/0.007353, allocations: 55.41 kB / 0.7916 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.867e-05/0.007452, allocations: 178.6 kB / 0.7917 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.729e-05/0.007469, allocations: 25.7 kB / 0.7918 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.007532, allocations: 140.5 kB / 0.7919 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.007564, allocations: 27.78 kB / 0.7919 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.007612, allocations: 27.34 kB / 0.7919 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.007748, allocations: 0.4884 MB / 0.7924 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.007782, allocations: 9.734 kB / 0.7924 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.967e-05/0.007811, allocations: 8 kB / 0.7924 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.473e-05/0.007886, allocations: 35.61 kB / 0.7925 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.007889, allocations: 0 / 0.7925 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001424/0.008031, allocations: 83.2 kB / 0.7925 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.008047, allocations: 5.562 kB / 0.7926 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.008052, allocations: 1.688 kB / 0.7926 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.296e-06/0.00806, allocations: 0 / 0.7926 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.008176, allocations: 23.92 kB / 0.7926 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.008179, allocations: 0 / 0.7926 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.126e-05/0.00824, allocations: 9.797 kB / 0.7926 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.00825, allocations: 4 kB / 0.7926 GB, free: 7.652 MB / 0.7448 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 8.981e-05/0.00834, allocations: 164.5 kB / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.008376, allocations: 11.89 kB / 0.7928 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.008537, allocations: 83.45 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.008539, allocations: 0 / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.008541, allocations: 0.7188 kB / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.008544, allocations: 0 / 0.7928 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.0087, allocations: 125.7 kB / 0.793 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008702, allocations: 5.312 kB / 0.793 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.442e-05/0.008796, allocations: 23.91 kB / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.008799, allocations: 0 / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.008807, allocations: 0 / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.008811, allocations: 4.531 kB / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.008811, allocations: 1.375 kB / 0.793 GB, free: 7.207 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.008987, allocations: 215.8 kB / 0.7932 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.009002, allocations: 11.89 kB / 0.7932 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.009019, allocations: 9.156 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.0091, allocations: 7.984 kB / 0.7932 GB, free: 6.949 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.009171, allocations: 19.97 kB / 0.7932 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.00918, allocations: 5.219 kB / 0.7933 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.317e-05/0.009233, allocations: 139.2 kB / 0.7934 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009233, allocations: 0 / 0.7934 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002392/0.009472, allocations: 12.81 kB / 0.7934 GB, free: 6.777 MB / 0.7448 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 8.832e-05/0.009561, allocations: 96.17 kB / 0.7935 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.009682, allocations: 44.95 kB / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009684, allocations: 0 / 0.7935 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.176e-05/0.009745, allocations: 39.64 kB / 0.7936 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.01, allocations: 12.78 kB / 0.7936 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.01035, allocations: 178.4 kB / 0.7938 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.01039, allocations: 63.34 kB / 0.7938 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.359e-05/0.01044, allocations: 12.16 kB / 0.7938 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.684e-05/0.01054, allocations: 90.19 kB / 0.7939 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01054, allocations: 0 / 0.7939 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of Templates: time 0.003361/0.0139, allocations: 1.886 MB / 0.7958 GB, free: 4.352 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.170515425968915]