Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009842/0.0009842, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001025/0.001025, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9463/0.9463, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.32/2.32, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 3.938 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.892e-05/3.164e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.001865/0.001897, allocations: 0.7864 MB / 0.8905 GB, free: 8.969 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.002867, allocations: 0.9015 MB / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.002915, allocations: 0 / 0.8914 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.002947, allocations: 3.938 kB / 0.8914 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.003057, allocations: 15.81 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.00322, allocations: 43.88 kB / 0.8915 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.003308, allocations: 79.83 kB / 0.8915 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.003418, allocations: 19.98 kB / 0.8916 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.00353, allocations: 55.89 kB / 0.8916 GB, free: 7.84 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.003601, allocations: 39.88 kB / 0.8917 GB, free: 7.801 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.003631, allocations: 8 kB / 0.8917 GB, free: 7.793 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.003644, allocations: 8 kB / 0.8917 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.003669, allocations: 19.92 kB / 0.8917 GB, free: 7.766 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.958e-05/0.003699, allocations: 23.91 kB / 0.8917 GB, free: 7.742 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.003814, allocations: 71.72 kB / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.003817, allocations: 0 / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.182e-06/0.003818, allocations: 0 / 0.8918 GB, free: 7.672 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.003822, allocations: 0 / 0.8918 GB, free: 7.672 MB / 0.8542 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.0004037/0.004226, allocations: 412.3 kB / 0.8922 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.00427, allocations: 12.62 kB / 0.8922 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.004309, allocations: 12.89 kB / 0.8922 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.092e-05/0.004399, allocations: 128.4 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.00442, allocations: 8.375 kB / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.004431, allocations: 4.375 kB / 0.8923 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.004605, allocations: 90.89 kB / 0.8924 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.004615, allocations: 7.938 kB / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.004624, allocations: 0 / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.004628, allocations: 0 / 0.8924 GB, free: 6.941 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.435e-05/0.004672, allocations: 23.98 kB / 0.8924 GB, free: 6.918 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.00502, allocations: 304.1 kB / 0.8927 GB, free: 6.594 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.005253, allocations: 67.09 kB / 0.8928 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.943e-05/0.005283, allocations: 23.73 kB / 0.8928 GB, free: 6.488 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.005301, allocations: 7.938 kB / 0.8928 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.005321, allocations: 33.39 kB / 0.8929 GB, free: 6.438 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.005322, allocations: 7.938 kB / 0.8929 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001693/0.005491, allocations: 85.59 kB / 0.893 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.65e-05/0.005518, allocations: 51.41 kB / 0.893 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.005601, allocations: 177.9 kB / 0.8932 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.005613, allocations: 25.7 kB / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.017e-05/0.005663, allocations: 142.8 kB / 0.8933 GB, free: 5.91 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.005686, allocations: 19.78 kB / 0.8934 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.005723, allocations: 31.36 kB / 0.8934 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.005837, allocations: 0.4884 MB / 0.8939 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.005867, allocations: 12 kB / 0.8939 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.005889, allocations: 11.98 kB / 0.8939 GB, free: 5.328 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.391e-05/0.005943, allocations: 39.55 kB / 0.8939 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.005944, allocations: 0 / 0.8939 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.392e-05/0.006038, allocations: 69.62 kB / 0.894 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.006051, allocations: 4 kB / 0.894 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.006056, allocations: 0 / 0.894 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.006065, allocations: 4 kB / 0.894 GB, free: 5.203 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.968e-05/0.006144, allocations: 19.97 kB / 0.894 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.006147, allocations: 4 kB / 0.894 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.505e-05/0.006182, allocations: 4 kB / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.006189, allocations: 4 kB / 0.894 GB, free: 5.172 MB / 0.8542 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 7.601e-05/0.006265, allocations: 168.4 kB / 0.8942 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.006287, allocations: 7.953 kB / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.006312, allocations: 16.42 kB / 0.8942 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006314, allocations: 0 / 0.8942 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.006315, allocations: 0 / 0.8942 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.006318, allocations: 0 / 0.8942 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.00643, allocations: 121.2 kB / 0.8943 GB, free: 4.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006431, allocations: 4 kB / 0.8943 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.092e-05/0.006492, allocations: 23.92 kB / 0.8944 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006494, allocations: 0 / 0.8944 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.006501, allocations: 4 kB / 0.8944 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.006503, allocations: 0 / 0.8944 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006504, allocations: 0 / 0.8944 GB, free: 4.797 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.006658, allocations: 220.3 kB / 0.8946 GB, free: 4.562 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.006674, allocations: 19.83 kB / 0.8946 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.006685, allocations: 4 kB / 0.8946 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.303e-05/0.006738, allocations: 11.98 kB / 0.8946 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.00679, allocations: 27.97 kB / 0.8946 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.006795, allocations: 0 / 0.8946 GB, free: 4.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.418e-05/0.00684, allocations: 139.5 kB / 0.8948 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4e-08/0.00684, allocations: 0 / 0.8948 GB, free: 4.363 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001479/0.006987, allocations: 16 kB / 0.8948 GB, free: 4.348 MB / 0.8542 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 8.708e-05/0.007075, allocations: 99.23 kB / 0.8949 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.273e-05/0.007167, allocations: 39.67 kB / 0.8949 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.00717, allocations: 4 kB / 0.8949 GB, free: 4.195 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.007215, allocations: 39.66 kB / 0.8949 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.007408, allocations: 10.5 kB / 0.895 GB, free: 4.145 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.00772, allocations: 174.7 kB / 0.8951 GB, free: 3.941 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.751e-05/0.007758, allocations: 59.34 kB / 0.8952 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.465e-05/0.007802, allocations: 12 kB / 0.8952 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.281e-05/0.007885, allocations: 86.19 kB / 0.8953 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/0.007886, allocations: 0 / 0.8953 GB, free: 3.766 MB / 0.8542 GB Notification: Performance of Templates: time 0.003868/0.01175, allocations: 1.833 MB / 0.8971 GB, free: 1.949 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.212426056154072]