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.001099/0.001099, allocations: 108 kB / 15.6 MB, free: 132 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.001163/0.001163, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.338/2.338, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.91 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.5741, allocations: 140.4 MB / 0.9497 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.00186/0.576, allocations: 0.6608 MB / 0.9504 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007647/0.5768, allocations: 0.7914 MB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.5768, allocations: 1.125 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.5768, allocations: 3.938 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.5769, allocations: 5.188 kB / 0.9512 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.908e-05/0.577, allocations: 13.05 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.577, allocations: 26.62 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.5771, allocations: 2.031 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.5772, allocations: 7.75 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.468e-05/0.5772, allocations: 14.58 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.5773, allocations: 6.562 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.075e-06/0.5773, allocations: 1.312 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.5773, allocations: 1.312 kB / 0.9512 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.5773, allocations: 13.27 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.709e-05/0.5774, allocations: 20.59 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5774, allocations: 4 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5774, allocations: 1.094 kB / 0.9513 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.5774, allocations: 0 / 0.9513 GB, free: 7.844 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.0003565/0.5778, allocations: 339.3 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5778, allocations: 9.5 kB / 0.9516 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.744e-05/0.5779, allocations: 32.03 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.201e-05/0.5779, allocations: 2.531 kB / 0.9516 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.001e-05/0.578, allocations: 177.5 kB / 0.9518 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.578, allocations: 5.906 kB / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.578, allocations: 1.656 kB / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000158/0.5782, allocations: 45.5 kB / 0.9519 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.5782, allocations: 7.922 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.5782, allocations: 0 / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5782, allocations: 1.406 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.5784, allocations: 34.31 kB / 0.9519 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002504/0.5786, allocations: 257.8 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.5788, allocations: 38.62 kB / 0.9522 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.105e-05/0.5789, allocations: 25.78 kB / 0.9522 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.5789, allocations: 0 / 0.9522 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.5789, allocations: 40.06 kB / 0.9522 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5789, allocations: 0 / 0.9522 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003222/0.5792, allocations: 79.95 kB / 0.9523 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.5793, allocations: 52.59 kB / 0.9524 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/0.5793, allocations: 104.3 kB / 0.9525 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-06/0.5793, allocations: 25.7 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.5794, allocations: 85.64 kB / 0.9526 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.5794, allocations: 13 kB / 0.9526 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.5794, allocations: 11.31 kB / 0.9526 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.5795, allocations: 316.4 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.014e-05/0.5795, allocations: 16.7 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.091e-05/0.5796, allocations: 14.23 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.5798, allocations: 48 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5798, allocations: 7.938 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.58, allocations: 68.7 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.58, allocations: 4.375 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.58, allocations: 1.219 kB / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.58, allocations: 0 / 0.9531 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.995e-05/0.5801, allocations: 14.52 kB / 0.9531 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.5801, allocations: 0 / 0.9531 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.72e-05/0.5802, allocations: 7.234 kB / 0.9531 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.5802, allocations: 1.062 kB / 0.9531 GB, free: 5.973 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 4.462e-05/0.5802, allocations: 112.1 kB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.5803, allocations: 1.156 kB / 0.9532 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.751e-05/0.5803, allocations: 8.281 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5803, allocations: 3.984 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5803, allocations: 5.125 kB / 0.9532 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.5803, allocations: 3.938 kB / 0.9532 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.5804, allocations: 161.9 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5804, allocations: 1.156 kB / 0.9534 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.5805, allocations: 9.422 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5805, allocations: 5.031 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.5805, allocations: 0 / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5805, allocations: 0 / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5805, allocations: 1.094 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.5807, allocations: 166.8 kB / 0.9535 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.5808, allocations: 82.27 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.5808, allocations: 1.062 kB / 0.9536 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.5809, allocations: 6.891 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.5809, allocations: 1.281 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.5809, allocations: 1.156 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.387e-05/0.5809, allocations: 87.09 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5809, allocations: 0 / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002213/0.5812, allocations: 3.719 kB / 0.9537 GB, free: 5.285 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.000383/0.5815, allocations: 0.7044 MB / 0.9544 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002205/0.5818, allocations: 37.48 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5818, allocations: 1.594 kB / 0.9544 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-05/0.5819, allocations: 26.55 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.5822, allocations: 2.25 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.5825, allocations: 142.1 kB / 0.9546 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.946e-05/0.5826, allocations: 0.6768 MB / 0.9553 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.5827, allocations: 5.438 kB / 0.9553 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.5827, allocations: 15.42 kB / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5827, allocations: 1.219 kB / 0.9553 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.5995, allocations: 1.27 MB / 0.9565 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.026/7.626, allocations: 3.406 kB / 0.9565 GB, free: 2.977 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 & 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