Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.AddParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.005337/0.005337, allocations: 100.3 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.001179/0.00118, allocations: 188.4 kB / 16.67 MB, free: 5.969 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.475/2.475, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.89 kB / 1.018 GB, free: 9.836 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7243/0.7256, allocations: 151.6 MB / 1.166 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.00165/0.7273, allocations: 0.6808 MB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008072/0.7281, allocations: 0.7884 MB / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.7281, allocations: 0 / 1.168 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.7282, allocations: 3.938 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.7282, allocations: 8 kB / 1.168 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 4.616e-05/0.7283, allocations: 7.984 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.961e-05/0.7283, allocations: 23.91 kB / 1.168 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.7284, allocations: 8 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.052e-05/0.7285, allocations: 11.94 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.173e-05/0.7285, allocations: 7.984 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.7286, allocations: 3.938 kB / 1.168 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-06/0.7286, allocations: 4 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.7286, allocations: 4 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.7286, allocations: 15.86 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.69e-05/0.7287, allocations: 23.97 kB / 1.168 GB, free: 2.117 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.7287, allocations: 3.938 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7287, allocations: 0 / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.7287, allocations: 0 / 1.168 GB, free: 2.113 MB / 0.8887 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.0003875/0.7291, allocations: 339.1 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.7291, allocations: 12.92 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.958e-05/0.7292, allocations: 30.75 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.879e-05/0.7292, allocations: 4.891 kB / 1.168 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.7293, allocations: 172.4 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.151e-06/0.7293, allocations: 4.375 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.7293, allocations: 4.375 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.7295, allocations: 46.23 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.7295, allocations: 3.938 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.7295, allocations: 4 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.7295, allocations: 0 / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.7297, allocations: 35.91 kB / 1.168 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.73, allocations: 249 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.7301, allocations: 38.5 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.998e-05/0.7302, allocations: 24.91 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.956e-06/0.7302, allocations: 4 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.7303, allocations: 38.5 kB / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.7303, allocations: 0 / 1.169 GB, free: 0.9531 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003277/0.7306, allocations: 89.53 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.7306, allocations: 51.41 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.7307, allocations: 105.8 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.7307, allocations: 25.83 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.767e-05/0.7308, allocations: 92.14 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.7308, allocations: 3.953 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.7308, allocations: 17.72 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.812e-05/0.7309, allocations: 314.8 kB / 1.169 GB, free: 220 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-05/0.731, allocations: 15.98 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.9e-05/0.7311, allocations: 15.98 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.7312, allocations: 44.81 kB / 1.169 GB, free: 140 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.7313, allocations: 3.938 kB / 1.169 GB, free: 136 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001821/0.7314, allocations: 65.67 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7315, allocations: 4 kB / 1.17 GB, free: 60 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.7315, allocations: 3.938 kB / 1.17 GB, free: 56 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7315, allocations: 4 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.978e-05/0.7316, allocations: 12.02 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.7316, allocations: 0 / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.7316, allocations: 7.984 kB / 1.17 GB, free: 32 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.7316, allocations: 0 / 1.17 GB, free: 32 kB / 0.8887 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 8.333e-05/0.7317, allocations: 113.8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.7318, allocations: 0 / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.7318, allocations: 7.125 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.7318, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.7318, allocations: 8 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-06/0.7318, allocations: 3.938 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.732, allocations: 169.5 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.732, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.512e-05/0.732, allocations: 7.984 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.732, allocations: 4 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.7321, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7321, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7321, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.7323, allocations: 169.9 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.7323, allocations: 77.11 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.7324, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.7324, allocations: 7.984 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.7325, allocations: 4.25 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.7325, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.66e-05/0.7325, allocations: 91.31 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7325, allocations: 0 / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002153/0.7327, allocations: 7.938 kB / 1.17 GB, free: 15.28 MB / 0.9044 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.000504/0.7333, allocations: 0.7045 MB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.7335, allocations: 35.95 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7335, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.7336, allocations: 23.92 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.7338, allocations: 4 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.7342, allocations: 143.2 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.7345, allocations: 0.6729 MB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.7345, allocations: 3.984 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.7345, allocations: 19.38 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of SimCode: time 3.3e-07/0.7345, allocations: 0 / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.7518, allocations: 1.287 MB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/8.881, allocations: 5.5 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches