Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 196 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.752/2.752, allocations: 437 MB / 0.7106 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 63.89 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7544/0.756, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.003512/0.7596, allocations: 0.8359 MB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.7615, allocations: 0.8624 MB / 1.019 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.404e-05/0.7616, allocations: 4 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.477e-05/0.7616, allocations: 3.938 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.7618, allocations: 11.86 kB / 1.019 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.7621, allocations: 39.91 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.7623, allocations: 75.83 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.7625, allocations: 35.88 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.7626, allocations: 39.83 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.7628, allocations: 39.83 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.7629, allocations: 8 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 3.154e-05/0.7629, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.482e-05/0.763, allocations: 19.91 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.842e-05/0.7631, allocations: 27.86 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.7632, allocations: 63.86 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7633, allocations: 7.938 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7633, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.7633, allocations: 0 / 1.019 GB, free: 0.707 MB / 0.7637 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.001021/0.7643, allocations: 389.3 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/0.7644, allocations: 12.03 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.7645, allocations: 8.844 kB / 1.02 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.7648, allocations: 180.2 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.7648, allocations: 8.375 kB / 1.02 GB, free: 40 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.7648, allocations: 8.375 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006078/0.7655, allocations: 105 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.7655, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.95e-05/0.7655, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.7655, allocations: 4 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/0.7662, allocations: 103.9 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008602/0.7671, allocations: 344.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.7683, allocations: 122.6 kB / 1.021 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.7688, allocations: 60.81 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.7688, allocations: 3.938 kB / 1.021 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.7689, allocations: 30.56 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.7689, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001249/0.7701, allocations: 185.5 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.7702, allocations: 51.41 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.7704, allocations: 117.8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.7705, allocations: 33.69 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.7706, allocations: 96.05 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.7706, allocations: 23.73 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.668e-05/0.7707, allocations: 25.64 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.7709, allocations: 322.8 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.7713, allocations: 47.95 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.7717, allocations: 47.89 kB / 1.022 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/0.7724, allocations: 92.78 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7724, allocations: 3.938 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005803/0.773, allocations: 138 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.773, allocations: 5.719 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.773, allocations: 4 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.773, allocations: 0 / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.7732, allocations: 23.97 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.7733, allocations: 3.938 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.7734, allocations: 27.91 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.7734, allocations: 4.078 kB / 1.022 GB, free: 13.91 MB / 0.7794 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.293e-05/0.7735, allocations: 113.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.7736, allocations: 11.89 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.7736, allocations: 12.38 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.7736, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7736, allocations: 4 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.7736, allocations: 7.922 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.7739, allocations: 197.6 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.7739, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/0.774, allocations: 23.97 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7741, allocations: 0 / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.7741, allocations: 7.984 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7741, allocations: 7.984 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7741, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004786/0.7746, allocations: 235.2 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.293e-05/0.7746, allocations: 81.02 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.7747, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.7748, allocations: 19.98 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.905e-05/0.7749, allocations: 19.97 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.7749, allocations: 3.938 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.368e-05/0.775, allocations: 107.6 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.775, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002416/0.7753, allocations: 15.94 kB / 1.023 GB, free: 12.96 MB / 0.7794 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.0001337/0.7754, allocations: 103.2 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004274/0.7758, allocations: 111.8 kB / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.7758, allocations: 0 / 1.023 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.776, allocations: 59.94 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.7764, allocations: 7.984 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004645/0.7768, allocations: 213.7 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.7771, allocations: 0.6887 MB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.7772, allocations: 19.42 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.7772, allocations: 7.875 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.00301/0.7802, allocations: 1.222 MB / 1.025 GB, free: 10.47 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches