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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00148/0.00148, allocations: 107.3 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001475, allocations: 189.5 kB / 16.25 MB, free: 6.152 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.597/1.597, allocations: 222.9 MB / 239.9 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.882/2.882, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 68.08 kB / 0.8688 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8969/0.899, allocations: 151.6 MB / 1.017 GB, free: 2.645 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.002581/0.9016, allocations: 0.8319 MB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.903, allocations: 0.8662 MB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.9031, allocations: 0 / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.313e-05/0.9031, allocations: 4 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.375e-05/0.9032, allocations: 3.938 kB / 1.018 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001871/0.9034, allocations: 43.89 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.9036, allocations: 71.89 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.9037, allocations: 35.95 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/0.9039, allocations: 35.86 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.904, allocations: 47.81 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.901e-05/0.904, allocations: 8 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.904, allocations: 11.94 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.9041, allocations: 27.91 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.9041, allocations: 35.8 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.9043, allocations: 83.72 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9043, allocations: 0 / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9043, allocations: 4 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.9043, allocations: 0 / 1.019 GB, free: 0.5234 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.000842/0.9052, allocations: 393.1 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.9052, allocations: 8.031 kB / 1.019 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.9053, allocations: 8.844 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.9055, allocations: 176.2 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.9055, allocations: 12.38 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.9056, allocations: 4.375 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003408/0.9059, allocations: 117.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.9059, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.906, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.906, allocations: 3.984 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003812/0.9064, allocations: 99.91 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006535/0.907, allocations: 348.6 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.9077, allocations: 122.5 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.9079, allocations: 60.8 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.908, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.908, allocations: 34.56 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 8.82e-07/0.908, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000711/0.9087, allocations: 189.4 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.9088, allocations: 55.34 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.9089, allocations: 125.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.909, allocations: 33.64 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.623e-05/0.9091, allocations: 88.12 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.9091, allocations: 23.66 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.027e-05/0.9092, allocations: 29.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.9094, allocations: 322.8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.9095, allocations: 43.95 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.9097, allocations: 43.95 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/0.9101, allocations: 96.78 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.9101, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004282/0.9105, allocations: 141.4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.9106, allocations: 4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9106, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9106, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.9108, allocations: 23.97 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.9108, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.9109, allocations: 15.92 kB / 1.021 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.9109, allocations: 0 / 1.021 GB, free: 13.72 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 0.0001189/0.9111, allocations: 118.4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.9111, allocations: 7.906 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.433e-05/0.9112, allocations: 12.38 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9112, allocations: 4 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.9112, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.9112, allocations: 3.938 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.9115, allocations: 197.6 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9115, allocations: 3.938 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.9116, allocations: 23.97 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.9117, allocations: 4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.9117, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.9117, allocations: 0 / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9117, allocations: 8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004889/0.9122, allocations: 235.3 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.9123, allocations: 85.02 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.9123, allocations: 11.92 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.9124, allocations: 15.98 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.101e-05/0.9125, allocations: 15.98 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.9126, allocations: 11.92 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.061e-05/0.9126, allocations: 95.2 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9126, allocations: 0 / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002418/0.9129, allocations: 19.94 kB / 1.022 GB, free: 12.77 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.0001533/0.913, allocations: 103.2 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004636/0.9135, allocations: 108.5 kB / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.9135, allocations: 0 / 1.022 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.9138, allocations: 67.88 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.9141, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.9146, allocations: 198.7 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.9151, allocations: 0.6885 MB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.273e-05/0.9151, allocations: 15.98 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.9152, allocations: 15.42 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of SimCode: time 1.022e-06/0.9152, allocations: 0 / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of Templates: time 0.004606/0.9198, allocations: 1.413 MB / 1.025 GB, free: 10.11 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=400 -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/jenkins/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