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.001338/0.001338, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001503/0.001503, allocations: 169 kB / 24.28 MB, free: 272 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.95/0.95, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.854/1.854, allocations: 359 MB / 0.6055 GB, free: 11.03 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 2.655e-06/2.655e-06, allocations: 4 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.898e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.0012/0.001219, allocations: 0.7822 MB / 0.7879 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008476/0.002067, allocations: 0.9029 MB / 0.7888 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.275e-05/0.00211, allocations: 4 kB / 0.7888 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.884e-05/0.002139, allocations: 9.078 kB / 0.7888 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.002209, allocations: 7.875 kB / 0.7888 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.002371, allocations: 48.47 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.002474, allocations: 89.19 kB / 0.7889 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.002574, allocations: 19.92 kB / 0.7889 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.67e-05/0.002671, allocations: 47.91 kB / 0.789 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.15e-05/0.002732, allocations: 39.88 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.002756, allocations: 9.5 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.002767, allocations: 8 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.566e-05/0.002793, allocations: 23.91 kB / 0.789 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.881e-05/0.002822, allocations: 23.92 kB / 0.7891 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001018/0.002923, allocations: 74.98 kB / 0.7891 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.002927, allocations: 4 kB / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002927, allocations: 0 / 0.7891 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.002931, allocations: 0 / 0.7891 GB, free: 10.73 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.0003806/0.003311, allocations: 400.4 kB / 0.7895 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.003347, allocations: 8.031 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.003388, allocations: 16.89 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.644e-05/0.003485, allocations: 124.5 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.003504, allocations: 5.312 kB / 0.7897 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.003518, allocations: 12.31 kB / 0.7897 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.003679, allocations: 90.5 kB / 0.7898 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003686, allocations: 5.406 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.003698, allocations: 3.984 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.003705, allocations: 4 kB / 0.7898 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.584e-05/0.003771, allocations: 28.61 kB / 0.7898 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.004116, allocations: 324.5 kB / 0.7901 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.004388, allocations: 79.89 kB / 0.7902 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.897e-05/0.004427, allocations: 20.31 kB / 0.7902 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.004446, allocations: 4 kB / 0.7902 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.004465, allocations: 38.69 kB / 0.7903 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.004465, allocations: 3.938 kB / 0.7903 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002065/0.004672, allocations: 83.11 kB / 0.7903 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.0047, allocations: 55.41 kB / 0.7904 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.004798, allocations: 181.9 kB / 0.7906 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.004814, allocations: 29.7 kB / 0.7906 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.004869, allocations: 136.4 kB / 0.7907 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.004896, allocations: 23.8 kB / 0.7907 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.004941, allocations: 27.36 kB / 0.7908 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.005072, allocations: 0.4922 MB / 0.7913 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.005113, allocations: 16.48 kB / 0.7913 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.401e-05/0.005147, allocations: 12.55 kB / 0.7913 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/0.005229, allocations: 41.11 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.005232, allocations: 4 kB / 0.7913 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001317/0.005364, allocations: 73.62 kB / 0.7914 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.005375, allocations: 4.562 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005379, allocations: 2.578 kB / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.00539, allocations: 0 / 0.7914 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.005482, allocations: 19.98 kB / 0.7914 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.005486, allocations: 0 / 0.7914 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.954e-05/0.005536, allocations: 7.984 kB / 0.7914 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.005543, allocations: 0.5312 kB / 0.7914 GB, free: 8.203 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 7.949e-05/0.005622, allocations: 169.2 kB / 0.7916 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.005653, allocations: 7.953 kB / 0.7916 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.00582, allocations: 95.58 kB / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005822, allocations: 0 / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.005824, allocations: 0.9062 kB / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.005827, allocations: 0 / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.005972, allocations: 152.5 kB / 0.7918 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.005974, allocations: 0.8438 kB / 0.7918 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.963e-05/0.006043, allocations: 19.92 kB / 0.7919 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.006045, allocations: 2.156 kB / 0.7919 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.006054, allocations: 0 / 0.7919 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.006056, allocations: 8 kB / 0.7919 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.006058, allocations: 3.984 kB / 0.7919 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.006227, allocations: 223.8 kB / 0.7921 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.006239, allocations: 14.58 kB / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.006255, allocations: 4 kB / 0.7921 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.427e-05/0.00633, allocations: 4 kB / 0.7921 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.006404, allocations: 23.97 kB / 0.7921 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.006411, allocations: 3.984 kB / 0.7921 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.225e-05/0.006464, allocations: 143.5 kB / 0.7923 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006464, allocations: 1.656 kB / 0.7923 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000224/0.006688, allocations: 16 kB / 0.7923 GB, free: 7.27 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 7.592e-05/0.006764, allocations: 91.25 kB / 0.7924 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001365/0.0069, allocations: 56.7 kB / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.006902, allocations: 0 / 0.7924 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/0.006966, allocations: 36.83 kB / 0.7925 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.007213, allocations: 21.33 kB / 0.7925 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.007558, allocations: 175.6 kB / 0.7926 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.082e-05/0.007599, allocations: 59.34 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.024e-05/0.007649, allocations: 12 kB / 0.7927 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.007709, allocations: 24.48 kB / 0.7927 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.00771, allocations: 3.812 kB / 0.7927 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of Templates: time 0.003674/0.01138, allocations: 1.709 MB / 0.7944 GB, free: 5.062 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.170361552154645]