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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001109/0.001109, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001503/0.001503, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.527/2.527, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 12 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8018/0.8022, allocations: 142.3 MB / 0.9538 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.001547/0.8038, allocations: 1.143 MB / 0.955 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.8051, allocations: 0.783 MB / 0.9557 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.8051, allocations: 1.125 kB / 0.9557 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002118/0.8054, allocations: 122.8 kB / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.995e-05/0.8055, allocations: 75.39 kB / 0.9559 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.806, allocations: 145 kB / 0.9561 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.42e-05/0.806, allocations: 52.56 kB / 0.9561 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.8061, allocations: 6.422 kB / 0.9561 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.341e-05/0.8062, allocations: 38.5 kB / 0.9561 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.8063, allocations: 74.44 kB / 0.9562 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.8063, allocations: 1.625 kB / 0.9562 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000335/0.8066, allocations: 225.4 kB / 0.9564 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.699e-05/0.8067, allocations: 65.36 kB / 0.9565 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.8068, allocations: 38.39 kB / 0.9565 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002811/0.8071, allocations: 209.6 kB / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.8071, allocations: 0 / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.785e-06/0.8071, allocations: 0 / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.8071, allocations: 0.9688 kB / 0.9567 GB, free: 5.969 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.0005725/0.8077, allocations: 0.4914 MB / 0.9572 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.8077, allocations: 9 kB / 0.9572 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.24e-05/0.8078, allocations: 32.38 kB / 0.9573 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.8078, allocations: 22.8 kB / 0.9573 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.808, allocations: 252.9 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.808, allocations: 1.219 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.808, allocations: 1.344 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.8082, allocations: 84.47 kB / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.8083, allocations: 0 / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.8083, allocations: 0 / 0.9576 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.8083, allocations: 5.266 kB / 0.9576 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.8085, allocations: 104.5 kB / 0.9577 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005348/0.809, allocations: 396.1 kB / 0.9581 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.8092, allocations: 95.72 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.8093, allocations: 50.08 kB / 0.9582 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.8094, allocations: 16.86 kB / 0.9582 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.8094, allocations: 35.77 kB / 0.9583 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.8094, allocations: 0 / 0.9583 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004422/0.8099, allocations: 201.2 kB / 0.9585 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.8099, allocations: 51.41 kB / 0.9585 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.8102, allocations: 355.8 kB / 0.9589 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.8102, allocations: 33.81 kB / 0.9589 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.8103, allocations: 140.4 kB / 0.959 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.076e-05/0.8103, allocations: 7.844 kB / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.547e-06/0.8103, allocations: 1.375 kB / 0.959 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.8104, allocations: 333.7 kB / 0.9593 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.8106, allocations: 100.4 kB / 0.9594 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.8107, allocations: 107.1 kB / 0.9595 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.8109, allocations: 99.23 kB / 0.9596 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.8109, allocations: 0 / 0.9596 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003775/0.8113, allocations: 271.4 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8113, allocations: 5.625 kB / 0.9599 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.8113, allocations: 3.938 kB / 0.9599 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.8113, allocations: 4.984 kB / 0.9599 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-05/0.8114, allocations: 12.14 kB / 0.9599 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.8114, allocations: 4.969 kB / 0.9599 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.8115, allocations: 20 kB / 0.9599 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.8115, allocations: 5.062 kB / 0.96 GB, free: 3.594 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.795e-05/0.8116, allocations: 141.4 kB / 0.9601 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.782e-05/0.8116, allocations: 19.97 kB / 0.9601 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.8119, allocations: 157.9 kB / 0.9603 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.812, allocations: 3.953 kB / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.812, allocations: 1 kB / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.812, allocations: 0 / 0.9603 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.8122, allocations: 239.3 kB / 0.9605 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8122, allocations: 1.219 kB / 0.9605 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.8123, allocations: 11.89 kB / 0.9605 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.8123, allocations: 1 kB / 0.9605 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.8123, allocations: 0 / 0.9605 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8123, allocations: 5 kB / 0.9605 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.8123, allocations: 3.953 kB / 0.9605 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.8126, allocations: 244.9 kB / 0.9607 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.508e-05/0.8126, allocations: 99.67 kB / 0.9608 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.8126, allocations: 0.75 kB / 0.9608 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.8127, allocations: 14.42 kB / 0.9609 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.8128, allocations: 1.031 kB / 0.9609 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.8128, allocations: 4.953 kB / 0.9609 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002287/0.813, allocations: 254.4 kB / 0.9611 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.543e-06/0.813, allocations: 1.094 kB / 0.9611 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004159/0.8134, allocations: 71.83 kB / 0.9612 GB, free: 2.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006316/0.8141, allocations: 0.8232 MB / 0.962 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003102/0.8144, allocations: 173.2 kB / 0.9621 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8144, allocations: 0 / 0.9621 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.8145, allocations: 49.88 kB / 0.9622 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003094/0.8148, allocations: 21.05 kB / 0.9622 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.817, allocations: 1.671 MB / 0.9638 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.8172, allocations: 0.7395 MB / 0.9646 GB, free: 288 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.8172, allocations: 15.52 kB / 0.9646 GB, free: 280 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.8173, allocations: 52.61 kB / 0.9646 GB, free: 232 kB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.8173, allocations: 0.9688 kB / 0.9646 GB, free: 232 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.835, allocations: 4.36 MB / 0.9689 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002904/0.8353, allocations: 200.5 kB / 0.9691 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.536, allocations: 3.938 kB / 0.9691 GB, free: 13.95 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat does not exist to compare? outputFormat=mat