Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009309/0.009309, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.00225/0.00225, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.499/1.499, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.556/2.556, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 67.77 kB / 0.9509 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3837, allocations: 140.4 MB / 1.088 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.004281/0.388, allocations: 0.7012 MB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.3902, allocations: 0.8316 MB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.3903, allocations: 4 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.531e-05/0.3904, allocations: 7.922 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.3906, allocations: 7.875 kB / 1.089 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.3909, allocations: 23.92 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001855/0.3911, allocations: 51.83 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.3913, allocations: 12 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.3914, allocations: 15.92 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.3916, allocations: 35.89 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.3917, allocations: 4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/0.3917, allocations: 4 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.3917, allocations: 11.98 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.465e-05/0.3918, allocations: 23.88 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.3921, allocations: 43.84 kB / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.3921, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 4.137e-06/0.3921, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.814e-05/0.3922, allocations: 0 / 1.09 GB, free: 15.7 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009756/0.3931, allocations: 359.4 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.3932, allocations: 8.031 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.066e-05/0.3933, allocations: 4.844 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002742/0.3936, allocations: 172.3 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.3936, allocations: 4.375 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.3937, allocations: 8.312 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.394, allocations: 69.59 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3941, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3941, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3941, allocations: 4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.3945, allocations: 51.94 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007668/0.3953, allocations: 292.7 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.3956, allocations: 62.58 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.3959, allocations: 40.88 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.3959, allocations: 0 / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.396, allocations: 30.56 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.396, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.000739/0.3968, allocations: 109.6 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.3968, allocations: 59.39 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.397, allocations: 105.8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.397, allocations: 29.7 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.45e-05/0.3971, allocations: 88.05 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.3972, allocations: 3.906 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.453e-05/0.3973, allocations: 21.7 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003011/0.3976, allocations: 318.8 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.3978, allocations: 31.97 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.3979, allocations: 19.98 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.3983, allocations: 52.81 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.3983, allocations: 3.938 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004482/0.3988, allocations: 89.58 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3988, allocations: 4 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3989, allocations: 4 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/0.3989, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.3991, allocations: 11.98 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.3991, allocations: 8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.3992, allocations: 15.83 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3992, allocations: 336 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001553/0.3994, allocations: 113.8 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.3995, allocations: 11.92 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.3995, allocations: 11.91 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.3995, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.3996, allocations: 4 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3996, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003411/0.3999, allocations: 173.6 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3999, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.4001, allocations: 15.92 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4002, allocations: 4 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4002, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.4002, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4002, allocations: 3.984 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.4008, allocations: 183.4 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.699e-05/0.4009, allocations: 85.09 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.4009, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.4011, allocations: 8 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.4012, allocations: 7.984 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.4012, allocations: 4 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.93e-05/0.4013, allocations: 87.27 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.41e-07/0.4013, allocations: 4 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004317/0.4018, allocations: 11.94 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001929/0.402, allocations: 103.7 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000549/0.4026, allocations: 51.94 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.4026, allocations: 0 / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002246/0.4028, allocations: 39.97 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.4033, allocations: 5.719 kB / 1.093 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.404, allocations: 137.5 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.4045, allocations: 0.6846 MB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.373e-05/0.4046, allocations: 8 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.717e-05/0.4047, allocations: 11.44 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of SimCode: time 1.202e-06/0.4047, allocations: 7.938 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of Templates: time 0.006026/0.4107, allocations: 0.8755 MB / 1.094 GB, free: 10.66 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches