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.00999/0.00999, allocations: 99.88 kB / 15.73 MB, free: 6.062 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.002352/0.002352, allocations: 195.1 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.76/2.76, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.859/4.859, allocations: 390.3 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002696/0.002696, allocations: 67.89 kB / 0.9505 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.252/1.255, allocations: 140.4 MB / 1.088 GB, free: 5.238 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.002828/1.258, allocations: 0.679 MB / 1.088 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001285/1.259, allocations: 0.7784 MB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.319e-05/1.259, allocations: 1.438 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/1.259, allocations: 0.7969 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.67e-05/1.259, allocations: 13.23 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.571e-05/1.259, allocations: 2.438 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.783e-05/1.259, allocations: 28.94 kB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/1.26, allocations: 9.156 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/1.26, allocations: 8.938 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/1.26, allocations: 14.53 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/1.26, allocations: 2.219 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/1.26, allocations: 2.062 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/1.26, allocations: 5.219 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/1.26, allocations: 11.27 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/1.26, allocations: 26.41 kB / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.26, allocations: 0 / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.175e-06/1.26, allocations: 0 / 1.089 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.26, allocations: 0 / 1.089 GB, free: 4.148 MB / 0.8575 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.0005445/1.261, allocations: 348 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.63e-05/1.261, allocations: 10.59 kB / 1.089 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/1.261, allocations: 34.69 kB / 1.089 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/1.261, allocations: 3.5 kB / 1.089 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.736e-05/1.261, allocations: 166.8 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/1.261, allocations: 1.469 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/1.261, allocations: 1.438 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/1.261, allocations: 49.45 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/1.261, allocations: 7.938 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/1.261, allocations: 0.5625 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/1.261, allocations: 5.062 kB / 1.09 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/1.262, allocations: 33.05 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003948/1.262, allocations: 250.8 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/1.262, allocations: 44.62 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/1.262, allocations: 27.08 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/1.262, allocations: 0 / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/1.263, allocations: 32.27 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/1.263, allocations: 3.938 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000553/1.263, allocations: 87.27 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/1.263, allocations: 52.94 kB / 1.09 GB, free: 3.016 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/1.263, allocations: 98.78 kB / 1.09 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/1.263, allocations: 29.7 kB / 1.09 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.206e-05/1.263, allocations: 86 kB / 1.09 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/1.263, allocations: 5.641 kB / 1.09 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/1.263, allocations: 16.53 kB / 1.09 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.527e-05/1.263, allocations: 317.9 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/1.264, allocations: 14.67 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/1.264, allocations: 17.81 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/1.264, allocations: 36.58 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.264, allocations: 4.875 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000337/1.264, allocations: 71.5 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.264, allocations: 5.844 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/1.264, allocations: 0 / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/1.265, allocations: 0 / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/1.265, allocations: 12.98 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.265, allocations: 1.188 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/1.265, allocations: 13.84 kB / 1.091 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/1.265, allocations: 1.609 kB / 1.091 GB, free: 2.383 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 6.898e-05/1.265, allocations: 115.3 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/1.265, allocations: 1.906 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/1.265, allocations: 5.406 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.265, allocations: 0 / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.265, allocations: 1.062 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.265, allocations: 0.5625 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/1.265, allocations: 164.8 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.265, allocations: 0 / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/1.265, allocations: 8.312 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/1.265, allocations: 5.062 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/1.265, allocations: 0.5625 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/1.265, allocations: 1.594 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.265, allocations: 8.438 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/1.266, allocations: 161.8 kB / 1.091 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/1.266, allocations: 94.88 kB / 1.091 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/1.266, allocations: 1.859 kB / 1.091 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/1.266, allocations: 5.156 kB / 1.091 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/1.266, allocations: 2.391 kB / 1.091 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/1.266, allocations: 1.344 kB / 1.091 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.169e-05/1.266, allocations: 80.91 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/1.266, allocations: 0 / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004436/1.267, allocations: 11.56 kB / 1.092 GB, free: 1.715 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.0007524/1.267, allocations: 0.7023 MB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004164/1.268, allocations: 34.64 kB / 1.092 GB, free: 17.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.268, allocations: 4.094 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/1.268, allocations: 20.88 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/1.269, allocations: 3.438 kB / 1.092 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/1.269, allocations: 132.2 kB / 1.092 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/1.27, allocations: 0.6762 MB / 1.093 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.607e-05/1.27, allocations: 1.516 kB / 1.093 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/1.27, allocations: 16.66 kB / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of SimCode: time 6.11e-07/1.27, allocations: 0 / 1.093 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/1.298, allocations: 1.295 MB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.37/14.66, allocations: 7.531 kB / 1.094 GB, free: 15.81 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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