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.01221/0.01221, allocations: 98.86 kB / 15.73 MB, free: 6.039 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.002373/0.002373, allocations: 202 kB / 16.68 MB, free: 5.965 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.734/2.734, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 5.053/5.053, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002778/0.002778, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5216, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.002878/0.5245, allocations: 0.6692 MB / 1.167 GB, free: 6.609 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.5261, allocations: 0.8004 MB / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.5262, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.526e-05/0.5263, allocations: 0 / 1.168 GB, free: 5.797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/0.5263, allocations: 3.938 kB / 1.168 GB, free: 5.793 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.292e-05/0.5264, allocations: 11.98 kB / 1.168 GB, free: 5.781 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.804e-05/0.5265, allocations: 23.94 kB / 1.168 GB, free: 5.758 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.5267, allocations: 7.984 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.5268, allocations: 8 kB / 1.168 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.5268, allocations: 15.92 kB / 1.168 GB, free: 5.727 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.5269, allocations: 4 kB / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-06/0.5269, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.5269, allocations: 0 / 1.168 GB, free: 5.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.527, allocations: 19.91 kB / 1.168 GB, free: 5.703 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.5271, allocations: 27.91 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5271, allocations: 0 / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5271, allocations: 0 / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.5271, allocations: 0 / 1.168 GB, free: 5.676 MB / 0.92 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.0006464/0.5278, allocations: 347.6 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.5278, allocations: 8.031 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.179e-05/0.5279, allocations: 30.75 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.528, allocations: 8.891 kB / 1.168 GB, free: 5.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.5282, allocations: 164.4 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.5282, allocations: 4.375 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.5282, allocations: 4.375 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.5285, allocations: 42.25 kB / 1.168 GB, free: 4.977 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.5285, allocations: 3.938 kB / 1.168 GB, free: 4.973 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.5285, allocations: 7.984 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.5285, allocations: 0 / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.5288, allocations: 39.78 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.5293, allocations: 249 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.5295, allocations: 42.48 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.5296, allocations: 24.91 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.5297, allocations: 3.984 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.5298, allocations: 34.56 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.5298, allocations: 0 / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0005064/0.5303, allocations: 89.53 kB / 1.169 GB, free: 4.414 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.5304, allocations: 51.41 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.5306, allocations: 105.8 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.5306, allocations: 25.7 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.5307, allocations: 88.27 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.5308, allocations: 3.953 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.5308, allocations: 13.72 kB / 1.169 GB, free: 4.094 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00043/0.5312, allocations: 318.8 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.5314, allocations: 11.98 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.5315, allocations: 19.98 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.5317, allocations: 40.89 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/0.5317, allocations: 7.922 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002732/0.532, allocations: 61.61 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.5321, allocations: 9.875 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5321, allocations: 0 / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.5321, allocations: 0 / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.5322, allocations: 12.02 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.5323, allocations: 8.234 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.5323, allocations: 7.922 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.5324, allocations: 8 kB / 1.17 GB, free: 3.582 MB / 0.92 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 0.0001216/0.5325, allocations: 113.8 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.5325, allocations: 0 / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.5326, allocations: 7.125 kB / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5326, allocations: 0 / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.5326, allocations: 0 / 1.17 GB, free: 3.453 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.5326, allocations: 4 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.5328, allocations: 165.5 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5328, allocations: 0 / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/0.5329, allocations: 15.92 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5329, allocations: 0 / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.5329, allocations: 3.938 kB / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5329, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5329, allocations: 0 / 1.17 GB, free: 3.219 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.5332, allocations: 167.5 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.881e-05/0.5333, allocations: 77.11 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.5333, allocations: 7.938 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.845e-05/0.5334, allocations: 4 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.5334, allocations: 7.984 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.5334, allocations: 0 / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.076e-05/0.5335, allocations: 79.28 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5335, allocations: 4.031 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003805/0.5339, allocations: 4 kB / 1.17 GB, free: 2.84 MB / 0.92 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.0007604/0.5346, allocations: 0.6967 MB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002728/0.5349, allocations: 43.98 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5349, allocations: 0 / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.91e-05/0.535, allocations: 15.98 kB / 1.171 GB, free: 2.055 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.5354, allocations: 4 kB / 1.171 GB, free: 2.051 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/0.5359, allocations: 143.1 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004498/0.5364, allocations: 0.6768 MB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 3.099e-05/0.5364, allocations: 4 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.011e-05/0.5365, allocations: 11.42 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of SimCode: time 4.61e-07/0.5365, allocations: 0 / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.5734, allocations: 1.287 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.63, allocations: 8.719 kB / 1.173 GB, free: 15.95 MB / 0.9356 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