Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.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.001181/0.001181, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001125/0.001125, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.927/1.927, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 177] 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.494e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.00223/0.002265, allocations: 0.7877 MB / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.003442, allocations: 0.9066 MB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.426e-05/0.003496, allocations: 4 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.003538, allocations: 7.875 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.488e-05/0.003632, allocations: 8.438 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002036/0.003836, allocations: 44.78 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.003961, allocations: 83.83 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.004079, allocations: 12.98 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.00421, allocations: 59.83 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.861e-05/0.004299, allocations: 39.88 kB / 0.789 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.004328, allocations: 9.156 kB / 0.789 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.004344, allocations: 8 kB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.795e-05/0.004372, allocations: 19.92 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.004411, allocations: 24.47 kB / 0.7891 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.00455, allocations: 63.78 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.237e-06/0.004553, allocations: 0.6875 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.545e-06/0.004556, allocations: 4 kB / 0.7891 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.00456, allocations: 0.9062 kB / 0.7891 GB, free: 10.39 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.0005473/0.005108, allocations: 401 kB / 0.7895 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.005159, allocations: 12.03 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.005222, allocations: 14.55 kB / 0.7895 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.005352, allocations: 132.4 kB / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.005376, allocations: 384 / 0.7897 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.005396, allocations: 4.375 kB / 0.7897 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.00563, allocations: 96.48 kB / 0.7898 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.005643, allocations: 3.938 kB / 0.7898 GB, free: 9.676 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.005658, allocations: 4 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.005667, allocations: 3.531 kB / 0.7898 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.687e-05/0.005754, allocations: 27.92 kB / 0.7898 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005094/0.006263, allocations: 331.5 kB / 0.7901 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.00666, allocations: 83.08 kB / 0.7902 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.425e-05/0.006724, allocations: 27.67 kB / 0.7902 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.006746, allocations: 4.625 kB / 0.7902 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.006776, allocations: 37.38 kB / 0.7903 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.006778, allocations: 4.531 kB / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002777/0.007056, allocations: 78.88 kB / 0.7903 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.007089, allocations: 55.41 kB / 0.7904 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.007204, allocations: 185.8 kB / 0.7906 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/0.007222, allocations: 34.7 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.007287, allocations: 134.9 kB / 0.7907 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.007319, allocations: 24.75 kB / 0.7908 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.385e-05/0.007383, allocations: 35.36 kB / 0.7908 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.007521, allocations: 496.1 kB / 0.7913 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.522e-05/0.007577, allocations: 16.89 kB / 0.7913 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.007615, allocations: 8 kB / 0.7913 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.102e-05/0.007706, allocations: 36.7 kB / 0.7913 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.007709, allocations: 4 kB / 0.7913 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001613/0.00787, allocations: 74.97 kB / 0.7914 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.007886, allocations: 4 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.007892, allocations: 0 / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.007914, allocations: 0.5625 kB / 0.7914 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.008028, allocations: 24.48 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.008035, allocations: 1.234 kB / 0.7914 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.008088, allocations: 7.984 kB / 0.7914 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.008097, allocations: 1.25 kB / 0.7914 GB, free: 7.84 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,add1.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 9.332e-05/0.008191, allocations: 164.5 kB / 0.7916 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.755e-05/0.008228, allocations: 8.766 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.008258, allocations: 8.438 kB / 0.7916 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.008262, allocations: 4 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.008267, allocations: 5.766 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.00827, allocations: 0 / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.008431, allocations: 148.5 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.008434, allocations: 4 kB / 0.7918 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.148e-05/0.008515, allocations: 16.61 kB / 0.7918 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.008518, allocations: 0 / 0.7918 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.008528, allocations: 0.6875 kB / 0.7918 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.008534, allocations: 7.938 kB / 0.7918 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.008536, allocations: 4.531 kB / 0.7918 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.008748, allocations: 225 kB / 0.792 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.024e-05/0.008768, allocations: 11.89 kB / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.008787, allocations: 8.734 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.008869, allocations: 4 kB / 0.792 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.008951, allocations: 20.97 kB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.008958, allocations: 4 kB / 0.7921 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.009017, allocations: 135.2 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009017, allocations: 1.156 kB / 0.7922 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002572/0.009275, allocations: 16 kB / 0.7922 GB, free: 7.004 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 (add1.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.0001219/0.009397, allocations: 100.1 kB / 0.7923 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001583/0.009555, allocations: 49.81 kB / 0.7923 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.009557, allocations: 0 / 0.7923 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.095e-05/0.009628, allocations: 39.66 kB / 0.7924 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.009929, allocations: 15.94 kB / 0.7924 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.01035, allocations: 184.3 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.0104, allocations: 63.34 kB / 0.7926 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.641e-05/0.01046, allocations: 6.156 kB / 0.7926 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/0.01053, allocations: 25.55 kB / 0.7927 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.01053, allocations: 0 / 0.7927 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of Templates: time 0.004273/0.0148, allocations: 1.711 MB / 0.7943 GB, free: 4.805 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.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.3828206160105765]