Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Exp",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.001241/0.001241, 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.00131/0.00131, allocations: 193.5 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.426 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 2.423/2.423, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 71.89 kB / 0.8694 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5008/0.5021, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001902/0.504, allocations: 0.6515 MB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000793/0.5048, allocations: 0.8039 MB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.5049, allocations: 0 / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.5049, allocations: 4 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.505, allocations: 3.938 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000114/0.5051, allocations: 11.98 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.004e-05/0.5052, allocations: 23.92 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.845e-05/0.5053, allocations: 8 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.5053, allocations: 15.92 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.18e-05/0.5054, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.5054, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.5054, allocations: 0 / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.5054, allocations: 19.86 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.5055, allocations: 8 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.273e-05/0.5055, allocations: 23.89 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.5055, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5055, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.5056, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 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.0003713/0.5059, allocations: 337.7 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.506, allocations: 8.031 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.613e-05/0.506, allocations: 30.75 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.989e-05/0.506, allocations: 4.938 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.469e-05/0.5061, allocations: 172.3 kB / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.5061, allocations: 384 / 1.02 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.5061, allocations: 4.359 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.5063, allocations: 58.17 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.5063, allocations: 3.938 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.5063, allocations: 0 / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5063, allocations: 4 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.5065, allocations: 31.97 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/0.5068, allocations: 249 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.5069, allocations: 38.44 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.507, allocations: 24.91 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.507, allocations: 4 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.5071, allocations: 38.48 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5071, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000326/0.5074, allocations: 77.66 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.5074, allocations: 51.41 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.5075, allocations: 105.9 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.5075, allocations: 33.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.5076, allocations: 80.14 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.5076, allocations: 7.844 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.5076, allocations: 21.7 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/0.5077, allocations: 314.8 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.808e-05/0.5078, allocations: 11.98 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.5079, allocations: 23.98 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.508, allocations: 36.81 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.508, allocations: 3.938 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.5082, allocations: 61.67 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.5082, allocations: 6.031 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5082, allocations: 3.984 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.5083, allocations: 4.094 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.5083, allocations: 11.94 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.5083, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.5084, allocations: 11.92 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.5084, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 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.452e-05/0.5085, allocations: 117.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.5085, allocations: 3.906 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.5087, allocations: 72.78 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5087, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5087, allocations: 3.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.5087, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.5089, allocations: 157.6 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.5089, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.5089, allocations: 7.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.509, allocations: 7.938 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.509, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.509, allocations: 4.031 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.509, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.5092, allocations: 159.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.5092, allocations: 81.05 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.5092, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/0.5093, allocations: 16.02 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.5094, allocations: 4.188 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/0.5094, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.982e-05/0.5094, allocations: 83.27 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5094, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002067/0.5096, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 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.00045/0.5101, allocations: 0.7045 MB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001866/0.5103, allocations: 35.97 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.5103, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.5104, allocations: 16.06 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.5106, allocations: 12 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003433/0.511, allocations: 135.3 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.5112, allocations: 0.6768 MB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.926e-05/0.5112, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.5112, allocations: 7.438 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5112, allocations: 0 / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.5266, allocations: 1.234 MB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/7.189, allocations: 12.55 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_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_Exp.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches