Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_10_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_10_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.009368/0.009369, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001691/0.001691, allocations: 193.4 kB / 16.67 MB, free: 5.969 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.612/1.612, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.741/2.741, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227/1.228, allocations: 151.6 MB / 1.167 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002146/1.23, allocations: 0.7047 MB / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001365/1.232, allocations: 0.8492 MB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.757e-05/1.232, allocations: 0 / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.633e-05/1.232, allocations: 3.938 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/1.232, allocations: 7.922 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/1.232, allocations: 15.98 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/1.232, allocations: 47.84 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/1.232, allocations: 15.98 kB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/1.233, allocations: 23.97 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.771e-05/1.233, allocations: 27.86 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/1.233, allocations: 4 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/1.233, allocations: 7.938 kB / 1.168 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.178e-05/1.233, allocations: 11.98 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.988e-05/1.233, allocations: 15.88 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001706/1.233, allocations: 47.84 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.233, allocations: 0 / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.567e-06/1.233, allocations: 0 / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.233, allocations: 0 / 1.168 GB, free: 1.957 MB / 0.8887 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.0007643/1.234, allocations: 359.8 kB / 1.169 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/1.234, allocations: 12.92 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/1.234, allocations: 0.9375 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/1.234, allocations: 172.3 kB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/1.234, allocations: 4.375 kB / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/1.234, allocations: 384 / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/1.235, allocations: 77.52 kB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/1.235, allocations: 0 / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/1.235, allocations: 4 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/1.235, allocations: 0 / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/1.235, allocations: 55.94 kB / 1.169 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/1.235, allocations: 280.8 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/1.236, allocations: 74.48 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/1.236, allocations: 36.83 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/1.236, allocations: 4 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/1.236, allocations: 34.55 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/1.236, allocations: 0 / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000483/1.236, allocations: 109.6 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/1.236, allocations: 55.34 kB / 1.17 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/1.237, allocations: 113.8 kB / 1.17 GB, free: 416 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/1.237, allocations: 25.7 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/1.237, allocations: 92.03 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/1.237, allocations: 7.953 kB / 1.17 GB, free: 280 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.768e-05/1.237, allocations: 17.7 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001986/1.237, allocations: 322.8 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/1.237, allocations: 31.97 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-05/1.237, allocations: 19.98 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/1.237, allocations: 56.81 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.237, allocations: 0 / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002403/1.238, allocations: 85.59 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/1.238, allocations: 8 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/1.238, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/1.238, allocations: 3.938 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/1.238, allocations: 11.98 kB / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.238, allocations: 0 / 1.17 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.439e-05/1.238, allocations: 11.98 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/1.238, allocations: 4 kB / 1.17 GB, free: 15.69 MB / 0.9044 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.0001037/1.238, allocations: 109.8 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/1.238, allocations: 8 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/1.238, allocations: 11.89 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.238, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.238, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/1.238, allocations: 4 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/1.238, allocations: 173.7 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/1.238, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/1.239, allocations: 15.97 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.239, allocations: 7.938 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/1.239, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.239, allocations: 0 / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/1.239, allocations: 4 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/1.239, allocations: 191.7 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.965e-05/1.239, allocations: 81.16 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/1.239, allocations: 3.984 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/1.239, allocations: 7.984 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/1.239, allocations: 15.98 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/1.239, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.977e-05/1.239, allocations: 83.28 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.239, allocations: 0 / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000214/1.239, allocations: 15.89 kB / 1.171 GB, free: 14.87 MB / 0.9044 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.00014/1.24, allocations: 103.2 kB / 1.171 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002678/1.24, allocations: 59.83 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.24, allocations: 4 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/1.24, allocations: 31.97 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/1.24, allocations: 7.938 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/1.241, allocations: 133.4 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/1.241, allocations: 0.6807 MB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.524e-05/1.241, allocations: 8 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/1.241, allocations: 15.42 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.241, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of Templates: time 0.003756/1.245, allocations: 0.8857 MB / 1.173 GB, free: 12.89 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches