Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,fileNamePrefix="Buildings_9_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.001207/0.001211, 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.00122/0.00122, allocations: 194.1 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.196/1.196, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.036/2.036, allocations: 390.2 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 64.09 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4654, allocations: 140.4 MB / 0.9497 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.001977/0.4674, allocations: 1.426 MB / 0.9511 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.4683, allocations: 0.8278 MB / 0.9519 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.4683, allocations: 0 / 0.9519 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.4685, allocations: 130.1 kB / 0.952 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.148e-05/0.4686, allocations: 69.39 kB / 0.9521 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.469, allocations: 188.5 kB / 0.9523 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.4691, allocations: 57.3 kB / 0.9523 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.4692, allocations: 2.812 kB / 0.9523 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.4692, allocations: 47.84 kB / 0.9524 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.869e-05/0.4693, allocations: 80.84 kB / 0.9525 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.4693, allocations: 2.438 kB / 0.9525 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.4696, allocations: 226 kB / 0.9527 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.4697, allocations: 62.64 kB / 0.9527 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.216e-05/0.4697, allocations: 55.83 kB / 0.9528 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.47, allocations: 274.8 kB / 0.9531 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.47, allocations: 0 / 0.9531 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.47, allocations: 1.031 kB / 0.9531 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.359e-06/0.47, allocations: 0 / 0.9531 GB, free: 6.926 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.0004413/0.4704, allocations: 0.5014 MB / 0.9535 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.4705, allocations: 13.53 kB / 0.9536 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.077e-05/0.4705, allocations: 39.95 kB / 0.9536 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.4705, allocations: 16.22 kB / 0.9536 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.4707, allocations: 266.8 kB / 0.9539 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.4707, allocations: 384 / 0.9539 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.4707, allocations: 5.406 kB / 0.9539 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.4709, allocations: 83.27 kB / 0.954 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.4709, allocations: 1.219 kB / 0.954 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.4709, allocations: 0 / 0.954 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.4709, allocations: 0 / 0.954 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001794/0.4711, allocations: 91.11 kB / 0.954 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003678/0.4715, allocations: 394.9 kB / 0.9544 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.4716, allocations: 89.5 kB / 0.9545 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.4717, allocations: 51.53 kB / 0.9546 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.4717, allocations: 21.67 kB / 0.9546 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.156e-05/0.4718, allocations: 31.75 kB / 0.9546 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4718, allocations: 0 / 0.9546 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003572/0.4721, allocations: 177.4 kB / 0.9548 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.4721, allocations: 52.72 kB / 0.9548 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.4724, allocations: 360.5 kB / 0.9552 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.4724, allocations: 26.89 kB / 0.9552 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.4725, allocations: 135.9 kB / 0.9553 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.268e-06/0.4725, allocations: 5.141 kB / 0.9553 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.4725, allocations: 27.83 kB / 0.9554 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.181e-05/0.4726, allocations: 343.1 kB / 0.9557 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.4727, allocations: 94.19 kB / 0.9558 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.4728, allocations: 96.89 kB / 0.9559 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002345/0.4731, allocations: 210.3 kB / 0.9561 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4731, allocations: 0 / 0.9561 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002803/0.4734, allocations: 252.6 kB / 0.9563 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/0.4734, allocations: 6.906 kB / 0.9563 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4734, allocations: 3.984 kB / 0.9563 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.4734, allocations: 4 kB / 0.9563 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.268e-05/0.4735, allocations: 6.875 kB / 0.9563 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.4735, allocations: 0 / 0.9563 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.881e-05/0.4735, allocations: 17.33 kB / 0.9563 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.4736, allocations: 1.375 kB / 0.9563 GB, free: 4.484 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 (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 6.68e-05/0.4736, allocations: 146.5 kB / 0.9565 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.4737, allocations: 23.95 kB / 0.9565 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.4739, allocations: 143.6 kB / 0.9566 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4739, allocations: 0 / 0.9566 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4739, allocations: 0 / 0.9566 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.4739, allocations: 8.922 kB / 0.9566 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/0.4741, allocations: 239.6 kB / 0.9569 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4741, allocations: 4 kB / 0.9569 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/0.4742, allocations: 10.83 kB / 0.9569 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4742, allocations: 0 / 0.9569 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.4742, allocations: 1.094 kB / 0.9569 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4742, allocations: 4.031 kB / 0.9569 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.4742, allocations: 0 / 0.9569 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.4744, allocations: 235.1 kB / 0.9571 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.4745, allocations: 104.2 kB / 0.9572 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.4745, allocations: 4.781 kB / 0.9572 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.089e-05/0.4746, allocations: 7.188 kB / 0.9572 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.406e-05/0.4746, allocations: 5.078 kB / 0.9572 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.4746, allocations: 1.156 kB / 0.9572 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001814/0.4748, allocations: 252.8 kB / 0.9575 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4748, allocations: 0 / 0.9575 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002854/0.4751, allocations: 72.45 kB / 0.9575 GB, free: 3.562 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.000479/0.4756, allocations: 0.8138 MB / 0.9583 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.4758, allocations: 162.6 kB / 0.9585 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.4759, allocations: 0 / 0.9585 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.43e-05/0.476, allocations: 45.95 kB / 0.9585 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002474/0.4762, allocations: 20.31 kB / 0.9586 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.4783, allocations: 2.704 MB / 0.9612 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.4785, allocations: 0.7369 MB / 0.9619 GB, free: 292 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.404e-05/0.4785, allocations: 24.62 kB / 0.9619 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.044e-05/0.4786, allocations: 53.08 kB / 0.962 GB, free: 232 kB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.4786, allocations: 0 / 0.962 GB, free: 232 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.4968, allocations: 4.257 MB / 0.9662 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/7.125, allocations: 9.031 kB / 0.9662 GB, free: 14.12 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.fmu > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches