Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.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.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate",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.001058/0.001058, allocations: 108 kB / 15.6 MB, free: 124 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.001015/0.001015, allocations: 198 kB / 16.53 MB, free: 6.668 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.259/1.259, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.409/2.409, allocations: 437 MB / 0.7104 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 63.91 kB / 0.8693 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4945/0.4966, allocations: 151.6 MB / 1.017 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.00245/0.4991, allocations: 1.427 MB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.5003, allocations: 0.8266 MB / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.5004, allocations: 0 / 1.02 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.5006, allocations: 131.8 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.5007, allocations: 71.83 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005602/0.5012, allocations: 183.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.365e-05/0.5013, allocations: 59.88 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.396e-05/0.5014, allocations: 11.88 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.724e-05/0.5014, allocations: 39.89 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.5015, allocations: 79.84 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.5016, allocations: 4 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/0.5019, allocations: 219.7 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.502, allocations: 59.83 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.5021, allocations: 59.48 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.5024, allocations: 273.5 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5024, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.856e-06/0.5024, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.5024, allocations: 7.938 kB / 1.021 GB, free: 14.98 MB / 0.7794 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.0005743/0.503, allocations: 0.5099 MB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.503, allocations: 8.031 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.5031, allocations: 34.75 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.581e-05/0.5031, allocations: 24.66 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.5033, allocations: 251.7 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.5033, allocations: 384 / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.5034, allocations: 11.94 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.5035, allocations: 77.66 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.962e-06/0.5035, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.5036, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.5036, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.5038, allocations: 91.86 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.5042, allocations: 396.7 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.5044, allocations: 90.52 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.883e-05/0.5045, allocations: 48.89 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.5046, allocations: 15.98 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.5046, allocations: 34.56 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5046, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003939/0.505, allocations: 181.2 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.505, allocations: 51.41 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.5054, allocations: 359.2 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.5054, allocations: 25.7 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.5e-05/0.5055, allocations: 140 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.5055, allocations: 7.906 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.5055, allocations: 29.83 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.5056, allocations: 334.8 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.5058, allocations: 95.94 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.5059, allocations: 98.19 kB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.5062, allocations: 204.8 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5062, allocations: 7.938 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003258/0.5065, allocations: 250.4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.5066, allocations: 7.938 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5066, allocations: 0 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5066, allocations: 7.984 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.752e-05/0.5067, allocations: 11.94 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5067, allocations: 3.984 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.495e-05/0.5068, allocations: 19.75 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.5068, allocations: 4 kB / 1.024 GB, free: 11.37 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001012/0.5069, allocations: 145.7 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.5069, allocations: 15.81 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002711/0.5072, allocations: 142.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.5072, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.5072, allocations: 4 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.5072, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.5074, allocations: 249.5 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5074, allocations: 0 / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.5075, allocations: 12 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5075, allocations: 0 / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.5075, allocations: 0 / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5075, allocations: 3.984 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5075, allocations: 0 / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.5078, allocations: 231.2 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.741e-05/0.5079, allocations: 104.8 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.5079, allocations: 4 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.264e-05/0.508, allocations: 7.984 kB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.508, allocations: 4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.508, allocations: 4 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002171/0.5083, allocations: 245.9 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5083, allocations: 0 / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003106/0.5086, allocations: 71.95 kB / 1.025 GB, free: 10.05 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.0006597/0.5092, allocations: 0.8176 MB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.5095, allocations: 163.9 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.5095, allocations: 0 / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.5097, allocations: 47.97 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.5099, allocations: 10.38 kB / 1.026 GB, free: 8.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.5126, allocations: 2.713 MB / 1.029 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.5128, allocations: 0.7392 MB / 1.03 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.5129, allocations: 20.48 kB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.286e-05/0.5129, allocations: 59.34 kB / 1.03 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.513, allocations: 0 / 1.03 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.5324, allocations: 4.245 MB / 1.034 GB, free: 1.219 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.808/7.34, allocations: 14.12 kB / 1.034 GB, free: 1.207 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.csv --start-time 0 --stop-time 500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 Buildings_10_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches