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.001208/0.001208, 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.001166/0.001165, allocations: 193.4 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.194/1.194, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.081/2.081, allocations: 390.3 MB / 0.6647 GB, free: 316 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4792/0.4803, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002183/0.4826, allocations: 1.429 MB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.4836, allocations: 0.8235 MB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.4836, allocations: 0.9688 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.4838, allocations: 133.9 kB / 0.9521 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.4839, allocations: 67.86 kB / 0.9521 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005595/0.4845, allocations: 179 kB / 0.9523 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.516e-05/0.4846, allocations: 65.89 kB / 0.9523 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.443e-05/0.4846, allocations: 2.594 kB / 0.9524 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.455e-05/0.4847, allocations: 43.34 kB / 0.9524 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.577e-05/0.4848, allocations: 76.33 kB / 0.9525 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.4848, allocations: 2.219 kB / 0.9525 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.4851, allocations: 226 kB / 0.9527 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.631e-05/0.4852, allocations: 63.25 kB / 0.9527 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.4852, allocations: 64.06 kB / 0.9528 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.4855, allocations: 270.7 kB / 0.9531 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.4855, allocations: 0 / 0.9531 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4856, allocations: 5.188 kB / 0.9531 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.4856, allocations: 0 / 0.9531 GB, free: 6.785 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.0004969/0.4861, allocations: 0.5016 MB / 0.9536 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.4861, allocations: 13.53 kB / 0.9536 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.237e-05/0.4861, allocations: 34.75 kB / 0.9536 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.4862, allocations: 17.88 kB / 0.9536 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.4864, allocations: 261.2 kB / 0.9539 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.4864, allocations: 1.594 kB / 0.9539 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.4864, allocations: 5.312 kB / 0.9539 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.4866, allocations: 87.47 kB / 0.954 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.4866, allocations: 0 / 0.954 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.4866, allocations: 0 / 0.954 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.4866, allocations: 1.156 kB / 0.954 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.4868, allocations: 82.75 kB / 0.954 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004067/0.4872, allocations: 402.6 kB / 0.9544 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.4873, allocations: 92.31 kB / 0.9545 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.4875, allocations: 48.89 kB / 0.9546 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/0.4875, allocations: 16.86 kB / 0.9546 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.128e-05/0.4875, allocations: 35.95 kB / 0.9546 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4875, allocations: 4 kB / 0.9546 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003563/0.4879, allocations: 170.7 kB / 0.9548 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.602e-05/0.4879, allocations: 51.41 kB / 0.9548 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.4882, allocations: 357.1 kB / 0.9552 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.4882, allocations: 30.7 kB / 0.9552 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/0.4883, allocations: 136 kB / 0.9553 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.4883, allocations: 9.375 kB / 0.9553 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.4883, allocations: 27.02 kB / 0.9554 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.4884, allocations: 339.1 kB / 0.9557 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.4885, allocations: 96.56 kB / 0.9558 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.4886, allocations: 90.83 kB / 0.9559 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.4889, allocations: 211.7 kB / 0.9561 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4889, allocations: 1.375 kB / 0.9561 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003059/0.4892, allocations: 253.6 kB / 0.9563 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.4892, allocations: 4.438 kB / 0.9563 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.4892, allocations: 1.25 kB / 0.9563 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4892, allocations: 0 / 0.9563 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.4893, allocations: 14.58 kB / 0.9563 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.4893, allocations: 3.984 kB / 0.9563 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.4894, allocations: 25.73 kB / 0.9564 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.4894, allocations: 1.344 kB / 0.9564 GB, free: 4.34 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 7.265e-05/0.4895, allocations: 142 kB / 0.9565 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.4895, allocations: 19.47 kB / 0.9565 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.4898, allocations: 143.5 kB / 0.9566 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4898, allocations: 1.062 kB / 0.9566 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4898, allocations: 0 / 0.9566 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4898, allocations: 11.91 kB / 0.9567 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.49, allocations: 244.2 kB / 0.9569 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.49, allocations: 0 / 0.9569 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.49, allocations: 14.56 kB / 0.9569 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.49, allocations: 3.938 kB / 0.9569 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.49, allocations: 1.094 kB / 0.9569 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4901, allocations: 0 / 0.9569 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4901, allocations: 1.094 kB / 0.9569 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.4903, allocations: 234.4 kB / 0.9571 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.4903, allocations: 104.4 kB / 0.9572 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.4904, allocations: 0.8438 kB / 0.9572 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.4905, allocations: 7.281 kB / 0.9572 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.4905, allocations: 5.047 kB / 0.9572 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.4905, allocations: 1.094 kB / 0.9572 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001888/0.4907, allocations: 248.4 kB / 0.9575 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4907, allocations: 5.125 kB / 0.9575 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003254/0.491, allocations: 71.94 kB / 0.9576 GB, free: 3.422 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.0005229/0.4916, allocations: 0.8176 MB / 0.9584 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.4919, allocations: 158.5 kB / 0.9585 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4919, allocations: 0 / 0.9585 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.586e-05/0.492, allocations: 50.12 kB / 0.9586 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.4922, allocations: 17.67 kB / 0.9586 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.4945, allocations: 2.706 MB / 0.9612 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.4946, allocations: 0.7426 MB / 0.9619 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.4947, allocations: 19.89 kB / 0.962 GB, free: 132 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.4948, allocations: 53.45 kB / 0.962 GB, free: 84 kB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.4948, allocations: 0 / 0.962 GB, free: 84 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2304/0.7251, allocations: 4.253 MB / 0.9662 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.027/7.752, allocations: 11.97 kB / 0.9662 GB, free: 13.98 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 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.mat","/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