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.0009467/0.0009467, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.002156/0.002156, allocations: 165 kB / 23.82 MB, free: 0.7461 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 0.9624/0.9624, allocations: 177.1 MB / 204.2 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.762/1.762, allocations: 359 MB / 0.6052 GB, free: 11.04 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.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 3.988e-06/3.988e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.721e-05/4.12e-05, allocations: 4.719 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001974/0.002015, allocations: 0.7811 MB / 0.7879 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.003114, allocations: 0.9093 MB / 0.7888 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.003167, allocations: 1.688 kB / 0.7888 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.314e-05/0.00321, allocations: 7.875 kB / 0.7888 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.003322, allocations: 15.86 kB / 0.7888 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.003532, allocations: 40.8 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.003637, allocations: 83.81 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.003748, allocations: 12 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.003857, allocations: 56.5 kB / 0.789 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.189e-05/0.003939, allocations: 41.28 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.003968, allocations: 8 kB / 0.789 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.003981, allocations: 8 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.627e-05/0.004007, allocations: 19.92 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.004039, allocations: 29.16 kB / 0.7891 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.004155, allocations: 67.72 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.004158, allocations: 0 / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.243e-06/0.00416, allocations: 1.062 kB / 0.7891 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.004165, allocations: 0 / 0.7891 GB, free: 10.45 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.000458/0.004623, allocations: 404.4 kB / 0.7895 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.004665, allocations: 9.344 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.394e-05/0.004719, allocations: 12.89 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.004837, allocations: 128.4 kB / 0.7897 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.004862, allocations: 5.906 kB / 0.7897 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.004876, allocations: 8.375 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.005061, allocations: 82.91 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.005071, allocations: 10.64 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.005084, allocations: 8 kB / 0.7898 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.005092, allocations: 0 / 0.7898 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.613e-05/0.005158, allocations: 30.22 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.00558, allocations: 331.4 kB / 0.7901 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.005901, allocations: 77.53 kB / 0.7902 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.005952, allocations: 27.67 kB / 0.7902 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.005972, allocations: 4 kB / 0.7902 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.005997, allocations: 37.33 kB / 0.7903 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.005998, allocations: 5.062 kB / 0.7903 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002628/0.006261, allocations: 85.64 kB / 0.7903 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.006307, allocations: 53 kB / 0.7904 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.006415, allocations: 181.9 kB / 0.7906 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.006431, allocations: 25.7 kB / 0.7906 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.006492, allocations: 142.9 kB / 0.7907 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.006518, allocations: 21.73 kB / 0.7908 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.707e-05/0.006565, allocations: 31.36 kB / 0.7908 GB, free: 8.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.006698, allocations: 0.4922 MB / 0.7913 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.006737, allocations: 8 kB / 0.7913 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.861e-05/0.006766, allocations: 15.92 kB / 0.7913 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.743e-05/0.006843, allocations: 44.78 kB / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.006846, allocations: 0.5312 kB / 0.7913 GB, free: 8.012 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000125/0.006971, allocations: 70.36 kB / 0.7914 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.006987, allocations: 4.531 kB / 0.7914 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.006992, allocations: 0 / 0.7914 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.007006, allocations: 5.406 kB / 0.7914 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-05/0.0071, allocations: 19.97 kB / 0.7914 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.007106, allocations: 3.938 kB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.007143, allocations: 4.531 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.007152, allocations: 9.359 kB / 0.7914 GB, free: 7.895 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.033e-05/0.007242, allocations: 160.5 kB / 0.7916 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.007263, allocations: 7.953 kB / 0.7916 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.007291, allocations: 13.59 kB / 0.7916 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.007293, allocations: 0 / 0.7916 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.007297, allocations: 0 / 0.7916 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.0073, allocations: 1.344 kB / 0.7916 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.007423, allocations: 152.5 kB / 0.7918 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.007424, allocations: 0 / 0.7918 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.204e-05/0.007486, allocations: 19.92 kB / 0.7918 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.007489, allocations: 1.75 kB / 0.7918 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.007499, allocations: 7.984 kB / 0.7918 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.0075, allocations: 0 / 0.7918 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.007501, allocations: 0 / 0.7918 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.007674, allocations: 228.4 kB / 0.792 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.458e-05/0.007688, allocations: 11.89 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.007702, allocations: 0.5312 kB / 0.792 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.007757, allocations: 13.89 kB / 0.792 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.007825, allocations: 19.97 kB / 0.7921 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.007831, allocations: 0 / 0.7921 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.577e-05/0.007877, allocations: 139.2 kB / 0.7922 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007877, allocations: 0 / 0.7922 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001516/0.008028, allocations: 16.88 kB / 0.7922 GB, free: 7.062 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.0001062/0.008134, allocations: 94.69 kB / 0.7923 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.008276, allocations: 55.58 kB / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.008278, allocations: 0 / 0.7923 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.15e-05/0.008329, allocations: 35.67 kB / 0.7924 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.008536, allocations: 20.69 kB / 0.7924 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003393/0.008875, allocations: 171.3 kB / 0.7926 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.883e-05/0.008914, allocations: 63.78 kB / 0.7926 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.995e-05/0.008954, allocations: 15.55 kB / 0.7926 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.323e-05/0.009007, allocations: 21.84 kB / 0.7927 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.009008, allocations: 0 / 0.7927 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of Templates: time 0.003474/0.01248, allocations: 1.812 MB / 0.7944 GB, free: 4.762 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.012578541878611]