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.001412/0.001412, allocations: 108 kB / 15.61 MB, free: 152 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.001582/0.001582, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.268/1.268, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.219/2.219, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5256, allocations: 140.4 MB / 0.9497 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.001594/0.5272, allocations: 0.671 MB / 0.9504 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005622/0.5278, allocations: 0.7878 MB / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.84e-05/0.5278, allocations: 0 / 0.9512 GB, free: 8 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.447e-05/0.5278, allocations: 5.219 kB / 0.9512 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.288e-05/0.5279, allocations: 11.92 kB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.658e-05/0.528, allocations: 1.344 kB / 0.9512 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.283e-05/0.528, allocations: 21.83 kB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.5281, allocations: 12.05 kB / 0.9512 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.5282, allocations: 6.094 kB / 0.9512 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.5282, allocations: 15.02 kB / 0.9512 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.5283, allocations: 6.844 kB / 0.9512 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.5283, allocations: 5.156 kB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/0.5283, allocations: 5.406 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.5283, allocations: 9.312 kB / 0.9513 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.794e-05/0.5284, allocations: 24.94 kB / 0.9513 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5284, allocations: 3.938 kB / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5284, allocations: 0 / 0.9513 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.5284, allocations: 0.75 kB / 0.9513 GB, free: 7.906 MB / 0.7169 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.0004554/0.5289, allocations: 339.1 kB / 0.9516 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.529, allocations: 13.81 kB / 0.9516 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.529, allocations: 32.09 kB / 0.9517 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.742e-05/0.529, allocations: 6.312 kB / 0.9517 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.5291, allocations: 165.7 kB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.5292, allocations: 1.75 kB / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.427e-06/0.5292, allocations: 384 / 0.9518 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.5294, allocations: 49.89 kB / 0.9519 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5294, allocations: 3.938 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.5294, allocations: 1.219 kB / 0.9519 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.5294, allocations: 4 kB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.5296, allocations: 43.14 kB / 0.9519 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.5299, allocations: 245.5 kB / 0.9522 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.5301, allocations: 43.05 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.5302, allocations: 29.56 kB / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.5302, allocations: 0 / 0.9522 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.5302, allocations: 36.03 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.5302, allocations: 0 / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.5305, allocations: 81.3 kB / 0.9523 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.5306, allocations: 55.53 kB / 0.9524 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.441e-05/0.5306, allocations: 103.8 kB / 0.9525 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.5307, allocations: 27.33 kB / 0.9525 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.695e-05/0.5307, allocations: 80.14 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.5307, allocations: 5.219 kB / 0.9526 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.5307, allocations: 16.41 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.159e-05/0.5308, allocations: 310.8 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.5309, allocations: 21.47 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.115e-05/0.531, allocations: 18.05 kB / 0.9529 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.5311, allocations: 39.17 kB / 0.953 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5311, allocations: 4.188 kB / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001809/0.5313, allocations: 72.84 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.5313, allocations: 5.531 kB / 0.9531 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5313, allocations: 7.938 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.5314, allocations: 1.125 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.5315, allocations: 9.359 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.5315, allocations: 1.125 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.5315, allocations: 7.031 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.5315, allocations: 1 kB / 0.9531 GB, free: 6.043 MB / 0.7169 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 5.783e-05/0.5316, allocations: 119.8 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.5316, allocations: 1.219 kB / 0.9532 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.5316, allocations: 8.562 kB / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.5316, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.5317, allocations: 0 / 0.9532 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.5317, allocations: 9.266 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.5318, allocations: 161.9 kB / 0.9534 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5318, allocations: 3.938 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.372e-05/0.5318, allocations: 6.688 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5319, allocations: 0 / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.5319, allocations: 1.094 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5319, allocations: 4 kB / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5319, allocations: 0 / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.5321, allocations: 163.7 kB / 0.9535 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.5321, allocations: 82.23 kB / 0.9536 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.5321, allocations: 3.984 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.22e-05/0.5322, allocations: 7.844 kB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.5323, allocations: 1.719 kB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.5323, allocations: 5.359 kB / 0.9536 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.259e-05/0.5323, allocations: 82.19 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5323, allocations: 1.406 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002042/0.5325, allocations: 4 kB / 0.9537 GB, free: 5.352 MB / 0.7169 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.0004063/0.5329, allocations: 0.7033 MB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001984/0.5331, allocations: 37.2 kB / 0.9544 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5331, allocations: 0.9688 kB / 0.9544 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.267e-05/0.5332, allocations: 26.86 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002698/0.5335, allocations: 2.625 kB / 0.9545 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.5339, allocations: 134.3 kB / 0.9546 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.534, allocations: 0.6803 MB / 0.9553 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.534, allocations: 5.375 kB / 0.9553 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.5341, allocations: 15.38 kB / 0.9553 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5341, allocations: 5.719 kB / 0.9553 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1906/0.7247, allocations: 1.261 MB / 0.9565 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.296/8.021, allocations: 10.83 kB / 0.9565 GB, free: 3.043 MB / 0.7169 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