Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00157/0.00157, 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.002102/0.002102, allocations: 196.6 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.396/1.396, allocations: 222.9 MB / 240.5 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.762/2.762, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 65.94 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2849, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00213/0.2871, allocations: 0.7703 MB / 1.054 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009428/0.2881, allocations: 0.8312 MB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.2882, allocations: 4 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.2882, allocations: 7.984 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/0.2883, allocations: 3.938 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.2884, allocations: 19.98 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.495e-05/0.2885, allocations: 39.86 kB / 1.054 GB, free: 6.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.2886, allocations: 19.98 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.11e-05/0.2887, allocations: 19.91 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.2888, allocations: 19.92 kB / 1.054 GB, free: 6.547 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.2888, allocations: 8 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.468e-05/0.2888, allocations: 4 kB / 1.054 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.2889, allocations: 11.92 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.2889, allocations: 23.84 kB / 1.054 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.281e-05/0.289, allocations: 27.94 kB / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.289, allocations: 0 / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.92e-07/0.289, allocations: 0 / 1.055 GB, free: 6.473 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.289, allocations: 0 / 1.055 GB, free: 6.473 MB / 0.8106 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.0005089/0.2895, allocations: 355.6 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.2896, allocations: 20.02 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.924e-05/0.2896, allocations: 0.9375 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.2898, allocations: 172.2 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2898, allocations: 384 / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2898, allocations: 8.375 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002162/0.2901, allocations: 69.78 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.2901, allocations: 0 / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2901, allocations: 0 / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2901, allocations: 0 / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.2903, allocations: 55.94 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004466/0.2908, allocations: 296.6 kB / 1.055 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.291, allocations: 62.58 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.2911, allocations: 36.88 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.2912, allocations: 4 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.2912, allocations: 30.56 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.2912, allocations: 0 / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004227/0.2916, allocations: 109.8 kB / 1.056 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.2917, allocations: 55.41 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.522e-05/0.2917, allocations: 105.8 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.2918, allocations: 29.7 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.2918, allocations: 92.06 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.2919, allocations: 7.812 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.2919, allocations: 17.72 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.292, allocations: 322.8 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.2921, allocations: 27.98 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.2922, allocations: 27.95 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.2924, allocations: 56.75 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2925, allocations: 0 / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002462/0.2927, allocations: 89.64 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.2927, allocations: 4 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2927, allocations: 4 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2928, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2929, allocations: 11.98 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2929, allocations: 0 / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.293, allocations: 4 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.293, allocations: 11.92 kB / 1.057 GB, free: 4.203 MB / 0.8106 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 8.828e-05/0.2931, allocations: 113.8 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.2931, allocations: 7.906 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.411e-05/0.2932, allocations: 11.91 kB / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.2932, allocations: 0 / 1.057 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.2932, allocations: 3.938 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2932, allocations: 4 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2934, allocations: 177.5 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2934, allocations: 0 / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.617e-05/0.2935, allocations: 11.98 kB / 1.057 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.2935, allocations: 4 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.2935, allocations: 0 / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2935, allocations: 0 / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2935, allocations: 4 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.2938, allocations: 179.4 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.2939, allocations: 85.02 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.2939, allocations: 3.984 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.294, allocations: 8 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.294, allocations: 7.984 kB / 1.057 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.044e-06/0.2941, allocations: 7.938 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.2941, allocations: 91.2 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2941, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002242/0.2944, allocations: 8 kB / 1.057 GB, free: 3.391 MB / 0.8106 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.0001126/0.2945, allocations: 99.19 kB / 1.057 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002511/0.2947, allocations: 59.94 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2947, allocations: 4 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2949, allocations: 31.97 kB / 1.057 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.2952, allocations: 5.094 kB / 1.057 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.2955, allocations: 165.4 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.2958, allocations: 0.6887 MB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.2959, allocations: 7.438 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of SimCode: time 3.3e-07/0.2959, allocations: 0 / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of Templates: time 0.002041/0.2979, allocations: 0.8065 MB / 1.059 GB, free: 1.465 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches