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.001057/0.001057, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001423/0.001423, allocations: 169.3 kB / 24.28 MB, free: 280 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.999/0.999, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.916/1.916, allocations: 359 MB / 0.6055 GB, free: 10.98 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 1.483e-06/1.483e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.844e-05, allocations: 8.922 kB / 0.7871 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001275/0.001293, allocations: 0.7748 MB / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007656/0.002059, allocations: 0.9026 MB / 0.7888 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.002101, allocations: 7.938 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.002129, allocations: 3.938 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.29e-05/0.002202, allocations: 13.55 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001383/0.002341, allocations: 39.83 kB / 0.7888 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.511e-05/0.002436, allocations: 91.75 kB / 0.7889 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.241e-05/0.002528, allocations: 17.2 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.886e-05/0.002617, allocations: 51.89 kB / 0.789 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.134e-05/0.002678, allocations: 39.88 kB / 0.789 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.002702, allocations: 8.688 kB / 0.789 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.002713, allocations: 8 kB / 0.789 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.657e-05/0.00274, allocations: 21.52 kB / 0.789 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.823e-05/0.002768, allocations: 23.97 kB / 0.7891 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.916e-05/0.002867, allocations: 67.72 kB / 0.7891 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.002869, allocations: 3.938 kB / 0.7891 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.002869, allocations: 3.438 kB / 0.7891 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.002874, allocations: 4 kB / 0.7891 GB, free: 10.69 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.0003986/0.003272, allocations: 396.4 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.003308, allocations: 12.03 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.003352, allocations: 12.89 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.003456, allocations: 124.5 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.003476, allocations: 4.375 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.003487, allocations: 4.375 kB / 0.7897 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.003648, allocations: 95.61 kB / 0.7898 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.003656, allocations: 9.531 kB / 0.7898 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.003667, allocations: 0 / 0.7898 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.003674, allocations: 0 / 0.7898 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.738e-05/0.003742, allocations: 31.97 kB / 0.7898 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.004093, allocations: 332.6 kB / 0.7901 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002651/0.004358, allocations: 75.94 kB / 0.7902 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.312e-05/0.004401, allocations: 29.02 kB / 0.7902 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.004414, allocations: 0 / 0.7902 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.004437, allocations: 41.39 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.004438, allocations: 1.031 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001981/0.004636, allocations: 89.58 kB / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.004671, allocations: 56.31 kB / 0.7904 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/0.004761, allocations: 177.9 kB / 0.7906 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.004772, allocations: 26.86 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.004821, allocations: 138.9 kB / 0.7907 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.004845, allocations: 27.73 kB / 0.7908 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.004881, allocations: 32.8 kB / 0.7908 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000241/0.005122, allocations: 0.4922 MB / 0.7913 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.14e-05/0.005153, allocations: 8 kB / 0.7913 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.952e-05/0.005183, allocations: 16.83 kB / 0.7913 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.29e-05/0.005245, allocations: 36.34 kB / 0.7913 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005247, allocations: 4.531 kB / 0.7913 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001053/0.005352, allocations: 78.41 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.005362, allocations: 4 kB / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.005366, allocations: 0.8438 kB / 0.7914 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.005379, allocations: 3.984 kB / 0.7914 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.00545, allocations: 16.52 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.005455, allocations: 4 kB / 0.7914 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.005491, allocations: 9.375 kB / 0.7914 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.005497, allocations: 3.984 kB / 0.7914 GB, free: 8.137 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 6.615e-05/0.005563, allocations: 161.8 kB / 0.7916 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.005584, allocations: 11.95 kB / 0.7916 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.005607, allocations: 8.438 kB / 0.7916 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.00561, allocations: 4 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.005613, allocations: 0.6562 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.005616, allocations: 0.7188 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.005723, allocations: 136.5 kB / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.005724, allocations: 0.8125 kB / 0.7918 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.005775, allocations: 23.92 kB / 0.7918 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.005778, allocations: 4.922 kB / 0.7918 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.005787, allocations: 4 kB / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005787, allocations: 0 / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.005788, allocations: 1.219 kB / 0.7918 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.00593, allocations: 227.8 kB / 0.792 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.00594, allocations: 12.8 kB / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.005953, allocations: 0 / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.006004, allocations: 14.2 kB / 0.792 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.006063, allocations: 19.97 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.006068, allocations: 4 kB / 0.7921 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.28e-05/0.006111, allocations: 139.1 kB / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006111, allocations: 3.938 kB / 0.7922 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001457/0.006257, allocations: 12 kB / 0.7922 GB, free: 7.309 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 7.384e-05/0.006331, allocations: 106.4 kB / 0.7923 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001112/0.006442, allocations: 43.66 kB / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006443, allocations: 0 / 0.7923 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.935e-05/0.006493, allocations: 39.61 kB / 0.7924 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002334/0.006726, allocations: 16.69 kB / 0.7924 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003173/0.007043, allocations: 175.9 kB / 0.7926 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.493e-05/0.007078, allocations: 63.94 kB / 0.7926 GB, free: 6.805 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.104e-05/0.007119, allocations: 11.64 kB / 0.7926 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.821e-05/0.007167, allocations: 22.09 kB / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.007168, allocations: 0 / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of Templates: time 0.002903/0.01007, allocations: 1.714 MB / 0.7943 GB, free: 5.098 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.2970175561495125]