Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 108.2 kB / 15.99 MB, free: 6.348 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.001271/0.001271, allocations: 195.2 kB / 16.91 MB, free: 6.184 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.339/1.339, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.555/2.555, allocations: 469.8 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 65.55 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2899, allocations: 159.2 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001836/0.2918, allocations: 0.7223 MB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008581/0.2927, allocations: 0.7884 MB / 1.066 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.2927, allocations: 4 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.2928, allocations: 0 / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.2928, allocations: 7.938 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 4.655e-05/0.2929, allocations: 7.984 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.661e-05/0.2929, allocations: 19.98 kB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.323e-05/0.293, allocations: 4 kB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.679e-05/0.2931, allocations: 15.88 kB / 1.066 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.389e-05/0.2931, allocations: 19.91 kB / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.2932, allocations: 0 / 1.066 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-06/0.2932, allocations: 11.94 kB / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.2932, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.2932, allocations: 11.92 kB / 1.066 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 5.268e-05/0.2933, allocations: 19.97 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2933, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2933, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.2933, allocations: 4 kB / 1.066 GB, free: 13.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004403/0.2938, allocations: 335.7 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2938, allocations: 8.031 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.2938, allocations: 8.938 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.294, allocations: 160.4 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.294, allocations: 384 / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.294, allocations: 4.375 kB / 1.066 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.2942, allocations: 54.22 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.2942, allocations: 192 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2942, allocations: 3.938 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.2942, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.2944, allocations: 43.89 kB / 1.066 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.2947, allocations: 241 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.2948, allocations: 42.48 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.552e-05/0.2949, allocations: 24.91 kB / 1.067 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.2949, allocations: 4 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.295, allocations: 38.5 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.295, allocations: 0 / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0003298/0.2953, allocations: 85.55 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/0.2953, allocations: 51.41 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.558e-05/0.2954, allocations: 113.9 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.2955, allocations: 25.7 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.2955, allocations: 84.14 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.2955, allocations: 7.906 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.2956, allocations: 9.719 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.2958, allocations: 314.8 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.064e-05/0.2959, allocations: 19.97 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.928e-05/0.2959, allocations: 19.98 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.2961, allocations: 40.77 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2961, allocations: 0 / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001802/0.2963, allocations: 69.59 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2963, allocations: 4 kB / 1.067 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2963, allocations: 4.094 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.2963, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.2964, allocations: 11.98 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2964, allocations: 0 / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.176e-05/0.2965, allocations: 7.938 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.2965, allocations: 0 / 1.068 GB, free: 11.43 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.39e-05/0.2966, allocations: 117.8 kB / 1.068 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.2966, allocations: 4 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.623e-05/0.2966, allocations: 7.125 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2966, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2966, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.2967, allocations: 3.938 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.2968, allocations: 161.6 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2968, allocations: 0 / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.2969, allocations: 8 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2969, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.2969, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2969, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2969, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.2972, allocations: 171.4 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.2972, allocations: 81.11 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.2973, allocations: 3.984 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.023e-05/0.2973, allocations: 4.25 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.2974, allocations: 7.984 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.2974, allocations: 11.97 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.931e-05/0.2974, allocations: 79.28 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2974, allocations: 0 / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002066/0.2976, allocations: 7.938 kB / 1.068 GB, free: 10.68 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001361/0.2978, allocations: 105.4 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002003/0.298, allocations: 39.95 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.298, allocations: 4.062 kB / 1.068 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.288e-05/0.2981, allocations: 15.98 kB / 1.068 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.2983, allocations: 15.92 kB / 1.068 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.2986, allocations: 143.2 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.299, allocations: 0.6806 MB / 1.069 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.853e-05/0.299, allocations: 15.5 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.299, allocations: 0 / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of Templates: time 0.001852/0.3009, allocations: 0.5526 MB / 1.07 GB, free: 9.051 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches