Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005701/0.005701, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001187/0.001187, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.339/2.339, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 69.39 kB / 0.9504 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2996, allocations: 140.4 MB / 1.088 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.002068/0.3017, allocations: 0.6631 MB / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009394/0.3027, allocations: 0.7848 MB / 1.089 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.3027, allocations: 4 kB / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.3028, allocations: 0 / 1.089 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.727e-05/0.3029, allocations: 3.938 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.322e-05/0.3029, allocations: 7.984 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.783e-05/0.303, allocations: 27.92 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3031, allocations: 11.98 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.729e-05/0.3032, allocations: 11.94 kB / 1.089 GB, free: 464 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.312e-05/0.3032, allocations: 11.98 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.3033, allocations: 3.938 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.714e-06/0.3033, allocations: 4 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.3033, allocations: 0 / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.3033, allocations: 15.92 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 7.742e-05/0.3034, allocations: 15.97 kB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3034, allocations: 3.938 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3034, allocations: 0 / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.288e-06/0.3035, allocations: 0 / 1.089 GB, free: 408 kB / 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.0004419/0.3039, allocations: 346.2 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.304, allocations: 12.03 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.38e-05/0.304, allocations: 34.86 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.564e-05/0.304, allocations: 8.875 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.3042, allocations: 168.4 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3042, allocations: 384 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.3042, allocations: 384 / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3044, allocations: 54.23 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3044, allocations: 3.938 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.3045, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3045, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.3047, allocations: 31.97 kB / 1.09 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.305, allocations: 256.8 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.3052, allocations: 46.5 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.568e-05/0.3053, allocations: 24.91 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.3053, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.3053, allocations: 30.56 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.826e-06/0.3053, allocations: 3.984 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000361/0.3057, allocations: 89.58 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3057, allocations: 51.41 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.65e-05/0.3058, allocations: 101.8 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.3058, allocations: 29.7 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.3059, allocations: 80.14 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.096e-05/0.3059, allocations: 8.75 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.306, allocations: 17.7 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3061, allocations: 315 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.3062, allocations: 15.98 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.3062, allocations: 15.98 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.3064, allocations: 40.81 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3064, allocations: 3.938 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002042/0.3066, allocations: 69.67 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3067, allocations: 5.406 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3067, allocations: 7.938 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.3067, allocations: 0 / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3068, allocations: 7.984 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.3068, allocations: 0 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.09e-05/0.3069, allocations: 11.92 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3069, allocations: 4.031 kB / 1.091 GB, free: 14.3 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: 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.885e-05/0.307, allocations: 117.8 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.307, allocations: 0 / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.389e-05/0.3071, allocations: 3.125 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3071, allocations: 4 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3071, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3071, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.3073, allocations: 165.8 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3073, allocations: 7.938 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.927e-05/0.3073, allocations: 15.98 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3073, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.3074, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3074, allocations: 3.938 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3074, allocations: 3.984 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.3076, allocations: 163.5 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.3077, allocations: 81.14 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.3077, allocations: 0 / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.3078, allocations: 7.984 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3078, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.3078, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.3079, allocations: 83.28 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3079, allocations: 0 / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000211/0.3081, allocations: 4 kB / 1.092 GB, free: 13.56 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: 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.0005518/0.3086, allocations: 0.7045 MB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.3089, allocations: 31.97 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3089, allocations: 4.094 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.644e-05/0.309, allocations: 19.98 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3093, allocations: 7.984 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.3098, allocations: 143.1 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.3101, allocations: 0.6729 MB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.3101, allocations: 7.984 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.3102, allocations: 15.44 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3102, allocations: 0 / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03196/0.3422, allocations: 1.311 MB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.829, allocations: 9.875 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches