Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001246/0.001246, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001311/0.001311, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.545/2.545, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 70.33 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2813, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002263/0.2836, allocations: 0.7665 MB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.2848, allocations: 0.8351 MB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.423e-05/0.2849, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.987e-05/0.285, allocations: 3.938 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.001e-05/0.2851, allocations: 7.984 kB / 1.066 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001433/0.2852, allocations: 19.98 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.2853, allocations: 47.86 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.2854, allocations: 19.92 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.877e-05/0.2855, allocations: 19.91 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.2856, allocations: 27.91 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.2856, allocations: 4 kB / 1.066 GB, free: 13.36 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.2856, allocations: 4 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.2856, allocations: 8 kB / 1.066 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.2857, allocations: 27.8 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.092e-05/0.2858, allocations: 31.92 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2858, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2858, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2858, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8419 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.0006183/0.2864, allocations: 359.7 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.2865, allocations: 8.031 kB / 1.066 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.2865, allocations: 12.84 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.2867, allocations: 164.4 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2867, allocations: 384 / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.2867, allocations: 8.375 kB / 1.066 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.2869, allocations: 65.78 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2869, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.287, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.287, allocations: 7.984 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.2872, allocations: 51.89 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.2877, allocations: 296.7 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.2879, allocations: 62.53 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.288, allocations: 36.92 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.288, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.2881, allocations: 34.5 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.2881, allocations: 3.938 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004024/0.2885, allocations: 109.6 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.2886, allocations: 55.41 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.2887, allocations: 109.8 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.2887, allocations: 25.7 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.2887, allocations: 88.05 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.2888, allocations: 7.906 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-05/0.2888, allocations: 21.7 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.289, allocations: 314.8 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2891, allocations: 23.97 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.88e-05/0.2892, allocations: 35.92 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.2893, allocations: 49.09 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2894, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002382/0.2896, allocations: 89.62 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2896, allocations: 4 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.2896, allocations: 3.938 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.2897, allocations: 8 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2898, allocations: 11.98 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2898, allocations: 0 / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.361e-05/0.2899, allocations: 11.89 kB / 1.068 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.2899, allocations: 0 / 1.068 GB, free: 11.02 MB / 0.8419 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 9.232e-05/0.29, allocations: 121.7 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.29, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.29, allocations: 11.91 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2901, allocations: 4 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2901, allocations: 0 / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2901, allocations: 3.984 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.2903, allocations: 181.5 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2903, allocations: 0 / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.2904, allocations: 11.98 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2904, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.2904, allocations: 3.984 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2904, allocations: 0 / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2904, allocations: 3.938 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.2907, allocations: 195.3 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.164e-05/0.2908, allocations: 77.11 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2908, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.654e-05/0.2909, allocations: 7.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.291, allocations: 8 kB / 1.069 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.291, allocations: 3.984 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.42e-05/0.2911, allocations: 91.28 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2911, allocations: 0 / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002149/0.2913, allocations: 8 kB / 1.069 GB, free: 10.21 MB / 0.8419 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.000134/0.2914, allocations: 103.2 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002438/0.2917, allocations: 55.94 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2917, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.2918, allocations: 39.91 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.2921, allocations: 4 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.2925, allocations: 163.2 kB / 1.069 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.2928, allocations: 0.6807 MB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/0.2928, allocations: 11.44 kB / 1.07 GB, free: 9.094 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.2928, allocations: 4 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of Templates: time 0.002403/0.2952, allocations: 0.8098 MB / 1.07 GB, free: 8.285 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches