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.004563/0.004563, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001079/0.001079, allocations: 195.1 kB / 16.67 MB, free: 5.52 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 15.18 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 2.148/2.148, allocations: 390.2 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 0.9505 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7678/0.7691, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.001782/0.7709, allocations: 0.6711 MB / 1.088 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006846/0.7716, allocations: 0.7801 MB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.19e-05/0.7716, allocations: 4 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.7717, allocations: 4.547 kB / 1.089 GB, free: 4.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.212e-05/0.7717, allocations: 4.906 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.267e-05/0.7718, allocations: 7.312 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.213e-05/0.7719, allocations: 24.81 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.772, allocations: 4.969 kB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.772, allocations: 17.56 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.508e-05/0.7721, allocations: 13.72 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.7721, allocations: 2.188 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-06/0.7721, allocations: 6.188 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.547e-05/0.7721, allocations: 1.219 kB / 1.089 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.7721, allocations: 11.47 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.849e-05/0.7722, allocations: 22.14 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7722, allocations: 0 / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7722, allocations: 1.062 kB / 1.089 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.7722, allocations: 0 / 1.089 GB, free: 4.195 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.0003621/0.7726, allocations: 339.3 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.7726, allocations: 11.11 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.7727, allocations: 38.75 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.067e-05/0.7727, allocations: 2.844 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.909e-05/0.7728, allocations: 162.6 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.7728, allocations: 2.125 kB / 1.09 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.7728, allocations: 5.375 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.773, allocations: 52.94 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.773, allocations: 5 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.773, allocations: 0 / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.773, allocations: 1.312 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001704/0.7732, allocations: 40.02 kB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.7735, allocations: 251.5 kB / 1.09 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.7736, allocations: 40.8 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.658e-05/0.7737, allocations: 33.88 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.7737, allocations: 1.031 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.7737, allocations: 32.34 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.7737, allocations: 3.938 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003351/0.7741, allocations: 79.36 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.7741, allocations: 57.36 kB / 1.09 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.755e-05/0.7742, allocations: 102 kB / 1.09 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-06/0.7742, allocations: 26.8 kB / 1.09 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.383e-05/0.7742, allocations: 93.94 kB / 1.09 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.7742, allocations: 5.578 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-05/0.7742, allocations: 12.09 kB / 1.09 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.212e-05/0.7743, allocations: 317.2 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.182e-05/0.7744, allocations: 18.66 kB / 1.091 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.376e-05/0.7745, allocations: 21.91 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.7746, allocations: 41.19 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.7746, allocations: 5.156 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001783/0.7748, allocations: 62.42 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.7748, allocations: 12.55 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7748, allocations: 0 / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.7749, allocations: 1.156 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.6e-05/0.7749, allocations: 8.516 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.775, allocations: 0.6562 kB / 1.091 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.775, allocations: 9.906 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.775, allocations: 1.312 kB / 1.091 GB, free: 2.422 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 4.147e-05/0.7751, allocations: 115.5 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.7751, allocations: 5.672 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.838e-05/0.7751, allocations: 4.922 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7751, allocations: 0.6562 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7751, allocations: 1.188 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.7751, allocations: 0 / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.7752, allocations: 164 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7752, allocations: 1.125 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.7753, allocations: 9.469 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.7753, allocations: 0 / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.7753, allocations: 5.062 kB / 1.091 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.7753, allocations: 4 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7753, allocations: 0.7031 kB / 1.091 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.7756, allocations: 163 kB / 1.091 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.7756, allocations: 82.67 kB / 1.091 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.7756, allocations: 5.781 kB / 1.091 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.7757, allocations: 5.344 kB / 1.091 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.432e-05/0.7757, allocations: 10.64 kB / 1.091 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-06/0.7757, allocations: 0 / 1.091 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.257e-05/0.7757, allocations: 81.36 kB / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7758, allocations: 0 / 1.092 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002082/0.776, allocations: 3.969 kB / 1.092 GB, free: 1.762 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.0004806/0.7765, allocations: 0.6971 MB / 1.092 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.7767, allocations: 39.81 kB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7767, allocations: 5.125 kB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 8.504e-05/0.7768, allocations: 15.3 kB / 1.092 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002663/0.7771, allocations: 7.203 kB / 1.092 GB, free: 17.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.7775, allocations: 143.8 kB / 1.092 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.7777, allocations: 0.6759 MB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.286e-05/0.7777, allocations: 2.016 kB / 1.093 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.7777, allocations: 8.469 kB / 1.093 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7777, allocations: 0 / 1.093 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01725/0.795, allocations: 1.298 MB / 1.094 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.157/7.952, allocations: 11.23 kB / 1.094 GB, free: 15.85 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