Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.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.001037/0.001037, allocations: 81.95 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.001018/0.001018, allocations: 181 kB / 24.09 MB, free: 420 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 1.004/1.004, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.826/1.826, allocations: 359 MB / 0.6055 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.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.965e-06/2.965e-06, allocations: 0 / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.116e-05/3.412e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.00276/0.002794, allocations: 0.7791 MB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001404/0.004197, allocations: 0.9064 MB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.474e-05/0.004262, allocations: 4.875 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.989e-05/0.004302, allocations: 3.938 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.004416, allocations: 16.5 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.004644, allocations: 37.09 kB / 0.7893 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.004792, allocations: 91.75 kB / 0.7894 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.004927, allocations: 15.98 kB / 0.7894 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001626/0.005089, allocations: 56.59 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.977e-05/0.005179, allocations: 35.89 kB / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.00521, allocations: 8.938 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.641e-05/0.005226, allocations: 8 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.12e-05/0.005258, allocations: 25.44 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.759e-05/0.005295, allocations: 19.98 kB / 0.7895 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.005433, allocations: 71.7 kB / 0.7896 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.005437, allocations: 3.938 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.163e-06/0.005439, allocations: 1 kB / 0.7896 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.005443, allocations: 0 / 0.7896 GB, free: 10.14 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.0005267/0.00597, allocations: 405.1 kB / 0.79 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.006021, allocations: 12.03 kB / 0.79 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.006065, allocations: 11.52 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.006168, allocations: 120.5 kB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.006193, allocations: 8.359 kB / 0.7901 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.006208, allocations: 4.375 kB / 0.7901 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.00642, allocations: 86.84 kB / 0.7902 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.006432, allocations: 7.922 kB / 0.7902 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.006447, allocations: 9.594 kB / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.006454, allocations: 0 / 0.7902 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.821e-05/0.006522, allocations: 19.97 kB / 0.7903 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004604/0.006982, allocations: 308.7 kB / 0.7905 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.00733, allocations: 76.31 kB / 0.7906 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.007384, allocations: 29.3 kB / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.007405, allocations: 0 / 0.7906 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.007432, allocations: 37.39 kB / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.007433, allocations: 0 / 0.7907 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002322/0.007666, allocations: 74.2 kB / 0.7908 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.007697, allocations: 52 kB / 0.7908 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.007811, allocations: 186.6 kB / 0.791 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.007827, allocations: 29.7 kB / 0.791 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.007892, allocations: 140 kB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.007921, allocations: 23.73 kB / 0.7912 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.007973, allocations: 35.34 kB / 0.7912 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.008117, allocations: 493.5 kB / 0.7917 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.705e-05/0.008154, allocations: 15.97 kB / 0.7917 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.774e-05/0.008181, allocations: 4 kB / 0.7917 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.644e-05/0.008258, allocations: 41.97 kB / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.00826, allocations: 0 / 0.7917 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001374/0.008397, allocations: 73.56 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.008415, allocations: 5.719 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.00842, allocations: 2.031 kB / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.008434, allocations: 0 / 0.7918 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.008552, allocations: 19.98 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.008555, allocations: 0 / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.00861, allocations: 11.98 kB / 0.7918 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.008618, allocations: 2.312 kB / 0.7918 GB, free: 7.668 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,sub.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 0.0001015/0.00872, allocations: 164.5 kB / 0.792 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.008754, allocations: 11.95 kB / 0.792 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.008787, allocations: 12.44 kB / 0.792 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.008792, allocations: 7.984 kB / 0.792 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.008794, allocations: 4.438 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.008797, allocations: 0 / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.008956, allocations: 113.8 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.008958, allocations: 1.938 kB / 0.7921 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.103e-05/0.009049, allocations: 23.92 kB / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.009052, allocations: 0 / 0.7922 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.009063, allocations: 3.984 kB / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.009065, allocations: 0 / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.009067, allocations: 2.562 kB / 0.7922 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.009287, allocations: 219.9 kB / 0.7924 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.761e-05/0.009305, allocations: 15.83 kB / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.00932, allocations: 0 / 0.7924 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.009415, allocations: 7.984 kB / 0.7924 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.623e-05/0.009491, allocations: 31.91 kB / 0.7924 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.296e-06/0.009499, allocations: 0.5312 kB / 0.7924 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.00956, allocations: 136.5 kB / 0.7926 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.009561, allocations: 0 / 0.7926 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002493/0.00981, allocations: 12 kB / 0.7926 GB, free: 6.867 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 (sub.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.0001399/0.00995, allocations: 105 kB / 0.7927 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.01008, allocations: 43.64 kB / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.01008, allocations: 0.8438 kB / 0.7927 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/0.01015, allocations: 31.61 kB / 0.7927 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.01045, allocations: 19.53 kB / 0.7928 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.01087, allocations: 174.5 kB / 0.7929 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.01092, allocations: 59.34 kB / 0.793 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.018e-05/0.01098, allocations: 15.3 kB / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.01109, allocations: 87.81 kB / 0.7931 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of SimCode: time 1.012e-06/0.01109, allocations: 0 / 0.7931 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of Templates: time 0.004759/0.01585, allocations: 1.842 MB / 0.7949 GB, free: 4.469 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Subtract.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.053263682872057]