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.00459/0.004591, allocations: 98.38 kB / 15.73 MB, free: 6.008 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.0009954/0.0009954, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.242/2.242, allocations: 437 MB / 0.7105 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.84 kB / 1.018 GB, free: 9.914 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6497/0.6508, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002409/0.6533, allocations: 1.436 MB / 1.168 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.6545, allocations: 0.815 MB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.6546, allocations: 4 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.6548, allocations: 131.7 kB / 1.168 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.6549, allocations: 71.83 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006323/0.6555, allocations: 191.5 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.6557, allocations: 63.77 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.6557, allocations: 7.984 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.572e-05/0.6558, allocations: 39.89 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.6559, allocations: 75.84 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.6559, allocations: 4 kB / 1.169 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003557/0.6563, allocations: 231.7 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 8.025e-05/0.6564, allocations: 59.83 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.573e-05/0.6564, allocations: 51.48 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.6568, allocations: 282.6 kB / 1.17 GB, free: 340 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6568, allocations: 4 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6568, allocations: 0 / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.6568, allocations: 0 / 1.17 GB, free: 336 kB / 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.0006313/0.6575, allocations: 0.5174 MB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.6575, allocations: 8.922 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.6575, allocations: 34.75 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.6576, allocations: 20.8 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.6578, allocations: 263.9 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.6579, allocations: 4.125 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.6579, allocations: 0 / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.658, allocations: 73.67 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.6581, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/0.6581, allocations: 3.984 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.6581, allocations: 0 / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.6583, allocations: 91.88 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.6588, allocations: 392.7 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.6589, allocations: 94.52 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.6591, allocations: 52.89 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.6591, allocations: 19.97 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.6591, allocations: 34.56 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.6591, allocations: 0 / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0003998/0.6595, allocations: 181.4 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.6596, allocations: 55.53 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.6599, allocations: 359.2 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.6599, allocations: 25.7 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.66, allocations: 140 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.66, allocations: 4 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.6601, allocations: 29.7 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6602, allocations: 338.8 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.6603, allocations: 91.95 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.6605, allocations: 99.94 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.6607, allocations: 211.2 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.6608, allocations: 0 / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003362/0.6611, allocations: 261.3 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.6611, allocations: 4 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6611, allocations: 3.938 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.6611, allocations: 4 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.209e-05/0.6612, allocations: 11.98 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.6612, allocations: 0 / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.412e-05/0.6613, allocations: 11.89 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.6613, allocations: 7.938 kB / 1.173 GB, free: 12.71 MB / 0.9044 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 9.852e-05/0.6614, allocations: 145.8 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.6615, allocations: 19.86 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.6618, allocations: 146.5 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.6618, allocations: 0 / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6618, allocations: 0 / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.6618, allocations: 0 / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.662, allocations: 245.5 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.662, allocations: 0 / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.6621, allocations: 7.984 kB / 1.173 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.6621, allocations: 4 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-06/0.6621, allocations: 0 / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6621, allocations: 4.031 kB / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6621, allocations: 0 / 1.173 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.6624, allocations: 239.2 kB / 1.174 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.4e-05/0.6625, allocations: 101 kB / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.6625, allocations: 0 / 1.174 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.836e-05/0.6626, allocations: 12.02 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.6626, allocations: 0 / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-06/0.6626, allocations: 0 / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002195/0.6628, allocations: 261.8 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6628, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003276/0.6632, allocations: 63.88 kB / 1.174 GB, free: 11.38 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.0006699/0.6639, allocations: 0.8138 MB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.6642, allocations: 163.8 kB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6642, allocations: 0 / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.6643, allocations: 43.91 kB / 1.175 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003014/0.6646, allocations: 16.75 kB / 1.175 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002606/0.6672, allocations: 2.721 MB / 1.178 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.6675, allocations: 0.7444 MB / 1.178 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.935e-05/0.6675, allocations: 16.55 kB / 1.178 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.6676, allocations: 51.42 kB / 1.178 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.6676, allocations: 0 / 1.178 GB, free: 6.691 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.6877, allocations: 4.291 MB / 1.183 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/8.056, allocations: 19.69 kB / 1.183 GB, free: 2.512 MB / 0.9044 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