Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001338/0.001338, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001716/0.001716, allocations: 185 kB / 24.09 MB, free: 416 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.9646/0.9646, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.752/1.752, allocations: 359 MB / 0.6055 GB, free: 10.88 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.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.424e-05/3.706e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001475/0.001512, allocations: 0.7827 MB / 0.7883 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000896/0.002408, allocations: 0.9066 MB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.535e-05/0.002454, allocations: 4 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.002483, allocations: 9.125 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.002564, allocations: 7.922 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.002735, allocations: 41.52 kB / 0.7893 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.889e-05/0.002824, allocations: 91.75 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.765e-05/0.002922, allocations: 23.92 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.674e-05/0.003019, allocations: 51.88 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.003079, allocations: 35.89 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.003102, allocations: 9.219 kB / 0.7895 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.003114, allocations: 8 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.003137, allocations: 27.91 kB / 0.7895 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.003162, allocations: 20.59 kB / 0.7895 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.64e-05/0.003259, allocations: 69.14 kB / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003261, allocations: 0 / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003262, allocations: 0 / 0.7896 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003266, allocations: 0 / 0.7896 GB, free: 10.09 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.0003621/0.003628, allocations: 409.1 kB / 0.79 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.003663, allocations: 8.031 kB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.003699, allocations: 17.45 kB / 0.79 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.465e-05/0.003773, allocations: 121.1 kB / 0.7901 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.003792, allocations: 4.375 kB / 0.7901 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.003804, allocations: 9.281 kB / 0.7901 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.003954, allocations: 90.42 kB / 0.7902 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.003961, allocations: 3.938 kB / 0.7902 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.003971, allocations: 5.656 kB / 0.7902 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.003976, allocations: 0 / 0.7902 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.295e-05/0.004019, allocations: 23.97 kB / 0.7903 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.004322, allocations: 305.7 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.004546, allocations: 71.06 kB / 0.7906 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.827e-05/0.004574, allocations: 24.69 kB / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.004592, allocations: 0 / 0.7907 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.004614, allocations: 44.62 kB / 0.7907 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 3.968e-06/0.004618, allocations: 4 kB / 0.7907 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001642/0.004783, allocations: 73.66 kB / 0.7908 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.004807, allocations: 51.41 kB / 0.7908 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.004878, allocations: 181.8 kB / 0.791 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.004888, allocations: 25.7 kB / 0.791 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.004938, allocations: 138.9 kB / 0.7911 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.00496, allocations: 19.8 kB / 0.7912 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.005001, allocations: 36.06 kB / 0.7912 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.005112, allocations: 0.4884 MB / 0.7917 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.389e-05/0.005136, allocations: 16.45 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.005155, allocations: 9.312 kB / 0.7917 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.237e-05/0.005208, allocations: 35.61 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.005209, allocations: 1.156 kB / 0.7917 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.269e-05/0.005302, allocations: 73.61 kB / 0.7918 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.005313, allocations: 4 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005317, allocations: 0.9375 kB / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.005326, allocations: 0 / 0.7918 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.425e-05/0.0054, allocations: 21.55 kB / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.254e-06/0.005402, allocations: 0 / 0.7918 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.444e-05/0.005437, allocations: 15.92 kB / 0.7918 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.005443, allocations: 4 kB / 0.7919 GB, free: 7.605 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,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 6.394e-05/0.005507, allocations: 157.9 kB / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.005526, allocations: 11.95 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.005646, allocations: 79.75 kB / 0.7921 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.005648, allocations: 0 / 0.7921 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.005651, allocations: 9.406 kB / 0.7921 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.005654, allocations: 0 / 0.7921 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.005755, allocations: 117.2 kB / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.005757, allocations: 0 / 0.7922 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.005815, allocations: 28.38 kB / 0.7922 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.005817, allocations: 1.594 kB / 0.7922 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.005824, allocations: 8 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.005825, allocations: 0 / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.005826, allocations: 0 / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.0061, allocations: 228.9 kB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.006111, allocations: 11.89 kB / 0.7925 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.006121, allocations: 0.5312 kB / 0.7925 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.824e-05/0.006169, allocations: 8.516 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.006219, allocations: 23.97 kB / 0.7925 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.006224, allocations: 5.062 kB / 0.7925 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.586e-05/0.00626, allocations: 135.2 kB / 0.7926 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.1e-08/0.00626, allocations: 0 / 0.7926 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001398/0.006399, allocations: 20.56 kB / 0.7927 GB, free: 6.727 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 (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 8.393e-05/0.006483, allocations: 100 kB / 0.7928 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.717e-05/0.006581, allocations: 36.59 kB / 0.7928 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.006582, allocations: 0 / 0.7928 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.174e-05/0.006624, allocations: 44.94 kB / 0.7928 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.006799, allocations: 8 kB / 0.7928 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.007066, allocations: 181.9 kB / 0.793 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.43e-05/0.0071, allocations: 59.34 kB / 0.7931 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.702e-05/0.007137, allocations: 11.44 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.007213, allocations: 86.19 kB / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.007214, allocations: 0 / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of Templates: time 0.003067/0.01028, allocations: 1.836 MB / 0.795 GB, free: 4.348 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Min.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: 4.852712237741798]