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.58/1.58, allocations: 249.3 MB / 261.9 MB, free: 5.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 184.9 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008985/0.0008985, allocations: 92.05 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.388e-05/3.391e-05, allocations: 8 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2142, allocations: 106.3 MB / 0.8918 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7476/0.9619, allocations: 131.7 MB / 1.02 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.9622, allocations: 73.22 kB / 1.02 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004653/0.9668, allocations: 1.489 MB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9669, allocations: 0 / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.9669, allocations: 4 kB / 1.022 GB, free: 1.629 MB / 0.6355 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.000564/0.9674, allocations: 385.2 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.052e-05/0.9675, allocations: 12.03 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.9676, allocations: 7.906 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.9678, allocations: 175 kB / 1.023 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.9678, allocations: 7.375 kB / 1.023 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.9679, allocations: 4 kB / 1.023 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.9681, allocations: 86.69 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.9681, allocations: 3.938 kB / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.9681, allocations: 0 / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.9681, allocations: 4 kB / 1.023 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.9683, allocations: 53.3 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005741/0.9688, allocations: 341.2 kB / 1.023 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.9693, allocations: 101.9 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.375e-05/0.9694, allocations: 33.09 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/0.9694, allocations: 4.141 kB / 1.023 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.9695, allocations: 37.5 kB / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.9695, allocations: 0 / 1.023 GB, free: 364 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002532/0.9697, allocations: 92.47 kB / 1.023 GB, free: 280 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.9698, allocations: 51.41 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.4e-05/0.9698, allocations: 127 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.9699, allocations: 25.7 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.9699, allocations: 94.67 kB / 1.024 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.97, allocations: 19.34 kB / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-06/0.97, allocations: 0 / 1.024 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.704e-05/0.9701, allocations: 322.8 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.813e-05/0.9701, allocations: 18.75 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.9702, allocations: 26.48 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.328e-05/0.9702, allocations: 19.81 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.9702, allocations: 4 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001562/0.9704, allocations: 88.02 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9704, allocations: 4 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.9705, allocations: 3.938 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.9705, allocations: 3.938 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/0.9707, allocations: 35.66 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.9707, allocations: 12.02 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.9708, allocations: 23.89 kB / 1.024 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.9709, allocations: 3.984 kB / 1.024 GB, free: 15.43 MB / 0.6511 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 () * 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 8.492e-05/0.9709, allocations: 108.9 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.971, allocations: 3.906 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.531e-05/0.971, allocations: 12.5 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.971, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.971, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.9711, allocations: 7.953 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.9713, allocations: 198.6 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.9713, allocations: 0 / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.9715, allocations: 28.84 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.9715, allocations: 4 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.9715, allocations: 3.984 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.9715, allocations: 3.938 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9715, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002531/0.9718, allocations: 197.1 kB / 1.025 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.9718, allocations: 85.02 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.9718, allocations: 4 kB / 1.025 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.972, allocations: 19.86 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.9721, allocations: 19.91 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.9721, allocations: 3.984 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.611e-05/0.9722, allocations: 97.34 kB / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9722, allocations: 0 / 1.025 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002236/0.9724, allocations: 27.06 kB / 1.025 GB, free: 14.59 MB / 0.6511 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 () * 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.0001715/0.9726, allocations: 115.1 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.9728, allocations: 50.19 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.9728, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.65e-05/0.9728, allocations: 38.73 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.9731, allocations: 15.69 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.9734, allocations: 112.8 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.9736, allocations: 0.6965 MB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.898e-05/0.9737, allocations: 12.19 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.449e-05/0.9738, allocations: 15.42 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of SimCode: time 9.51e-07/0.9738, allocations: 0 / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of Templates: time 0.003551/0.9774, allocations: 1.323 MB / 1.027 GB, free: 12.23 MB / 0.6511 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