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.00113/0.00113, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001637/0.001637, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 223.3 MB / 240 MB, free: 5.43 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.878/2.878, allocations: 437.7 MB / 0.7117 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.000445, allocations: 12 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9017/0.9022, allocations: 153.8 MB / 1.022 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Add): time 0.000992/0.9032, allocations: 493.1 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.9042, allocations: 0.843 MB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.312e-05/0.9042, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.9042, allocations: 3.938 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.142e-05/0.9043, allocations: 11.92 kB / 1.024 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.9045, allocations: 31.95 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.9046, allocations: 71.78 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.9047, allocations: 31.95 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.941e-05/0.9048, allocations: 31.91 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.15e-05/0.9049, allocations: 39.83 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.9049, allocations: 4 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.146e-05/0.9049, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.905, allocations: 19.91 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.017e-05/0.905, allocations: 33.7 kB / 1.024 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.506e-05/0.9051, allocations: 59.86 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.9051, allocations: 0 / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9051, allocations: 0 / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.9051, allocations: 0 / 1.024 GB, free: 14.33 MB / 0.7794 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.0006721/0.9058, allocations: 385.1 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.9058, allocations: 15.97 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.9059, allocations: 7.906 kB / 1.024 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.906, allocations: 190.8 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.9061, allocations: 4 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.9061, allocations: 4 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.9064, allocations: 121.6 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9064, allocations: 3.984 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.9064, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9064, allocations: 0 / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003553/0.9068, allocations: 119.8 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.9074, allocations: 348.6 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.9079, allocations: 130.5 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.9081, allocations: 68.81 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.9081, allocations: 7.984 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.9082, allocations: 30.56 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.9082, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0006436/0.9088, allocations: 217.5 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.9089, allocations: 51.41 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.909, allocations: 121.8 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.909, allocations: 29.64 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.9091, allocations: 100 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.9091, allocations: 15.75 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.067e-06/0.9091, allocations: 8 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.9092, allocations: 318.8 kB / 1.026 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.9094, allocations: 51.95 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.9096, allocations: 63.95 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.9097, allocations: 55.95 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.9098, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000382/0.9101, allocations: 161.5 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.9102, allocations: 4 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9102, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.9102, allocations: 7.922 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.9104, allocations: 35.91 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.9104, allocations: 0 / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.9105, allocations: 19.98 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.9105, allocations: 4 kB / 1.027 GB, free: 11.46 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 (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 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 9.24e-05/0.9106, allocations: 121.8 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.9106, allocations: 7.906 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.02e-05/0.9107, allocations: 16.36 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.9107, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.9107, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.9107, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.9109, allocations: 197.6 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.9109, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.9111, allocations: 31.97 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.9111, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.9111, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.9111, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9111, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.9116, allocations: 267.2 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.9116, allocations: 89.02 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.9116, allocations: 0 / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.9118, allocations: 15.98 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.9119, allocations: 19.97 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.9119, allocations: 7.984 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.368e-05/0.9119, allocations: 95.27 kB / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9119, allocations: 0 / 1.027 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002296/0.9122, allocations: 15.94 kB / 1.027 GB, free: 10.49 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 (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.0001341/0.9123, allocations: 103.2 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004394/0.9128, allocations: 124.5 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9128, allocations: 0 / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.913, allocations: 79.88 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.9133, allocations: 12.08 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/0.9138, allocations: 193.6 kB / 1.028 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.9141, allocations: 0.6965 MB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.274e-05/0.9142, allocations: 8.188 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.825e-05/0.9142, allocations: 23.42 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.9142, allocations: 0 / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of Templates: time 0.003556/0.9178, allocations: 1.305 MB / 1.03 GB, free: 7.902 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/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