Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 191.8 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.781/1.781, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000947/0.000947, allocations: 88.23 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 10.41 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2636, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.4541, allocations: 131.8 MB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.4545, allocations: 71.95 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004728/0.4592, allocations: 1.497 MB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.585e-06/0.4593, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.4593, allocations: 0 / 1.03 GB, free: 10.41 MB / 0.6823 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.0006075/0.4599, allocations: 407 kB / 1.031 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.4599, allocations: 12.03 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.46, allocations: 7.906 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.4602, allocations: 175 kB / 1.031 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.4602, allocations: 8 kB / 1.031 GB, free: 9.723 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.4602, allocations: 4 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.4606, allocations: 113.6 kB / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.4606, allocations: 0 / 1.031 GB, free: 9.602 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.4606, allocations: 4 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.4606, allocations: 3.984 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003768/0.461, allocations: 119.8 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.4616, allocations: 348.7 kB / 1.031 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006133/0.4622, allocations: 130.5 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.4623, allocations: 4 kB / 1.032 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.4623, allocations: 34.56 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.4623, allocations: 0 / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006883/0.463, allocations: 213.6 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.4631, allocations: 63.28 kB / 1.032 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.4632, allocations: 120 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.4632, allocations: 29.7 kB / 1.032 GB, free: 8.457 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.4633, allocations: 103.9 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.4633, allocations: 19.72 kB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.4633, allocations: 0 / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4635, allocations: 318.8 kB / 1.032 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.4637, allocations: 59.95 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.4639, allocations: 51.95 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.4641, allocations: 63.95 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4641, allocations: 0 / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000414/0.4645, allocations: 149.6 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4645, allocations: 8 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4645, allocations: 0 / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4646, allocations: 0 / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.4648, allocations: 35.91 kB / 1.033 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4648, allocations: 3.953 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.4649, allocations: 23.88 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.4649, allocations: 4 kB / 1.033 GB, free: 7.613 MB / 0.6823 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 (add1.u1,add1.u2,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.465, allocations: 117.8 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.4651, allocations: 7.906 kB / 1.033 GB, free: 7.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.4651, allocations: 16.36 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.4651, allocations: 3.938 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.4651, allocations: 4 kB / 1.033 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.4652, allocations: 3.953 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.4654, allocations: 201.5 kB / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4655, allocations: 0 / 1.033 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.4657, allocations: 31.97 kB / 1.033 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4657, allocations: 0 / 1.033 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.4657, allocations: 8 kB / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4657, allocations: 0 / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4657, allocations: 0 / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005196/0.4662, allocations: 259.2 kB / 1.033 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.4663, allocations: 81.11 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.4663, allocations: 4 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.4665, allocations: 27.97 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.4666, allocations: 19.97 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.4666, allocations: 0 / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.483e-05/0.4667, allocations: 99.27 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4667, allocations: 0 / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002404/0.467, allocations: 27.97 kB / 1.034 GB, free: 6.629 MB / 0.6823 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.u1,add1.u2,add1.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002311/0.4672, allocations: 99.92 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004459/0.4677, allocations: 136.4 kB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4677, allocations: 4 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.4679, allocations: 67.95 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.4682, allocations: 18.17 kB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.4688, allocations: 197.2 kB / 1.034 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003877/0.4692, allocations: 0.6965 MB / 1.035 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 8.957e-05/0.4693, allocations: 16.17 kB / 1.035 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.839e-05/0.4693, allocations: 11.44 kB / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of SimCode: time 3.2e-07/0.4693, allocations: 0 / 1.035 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of Templates: time 0.003971/0.4733, allocations: 1.317 MB / 1.036 GB, free: 4.016 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches