Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.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.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior",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.000979/0.0009787, allocations: 91.69 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.001123/0.001123, 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.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.449 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.355/2.355, allocations: 390.4 MB / 0.6655 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003067, allocations: 11.94 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7767/0.777, allocations: 142.3 MB / 0.9538 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.002237/0.7793, allocations: 2.027 MB / 0.9558 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.7808, allocations: 0.8827 MB / 0.9567 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.7809, allocations: 4.062 kB / 0.9567 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.813e-05/0.781, allocations: 27.56 kB / 0.9567 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.7814, allocations: 114.4 kB / 0.9568 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.7817, allocations: 137.7 kB / 0.9569 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000394/0.7821, allocations: 326.4 kB / 0.9573 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.7823, allocations: 85.66 kB / 0.9573 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.7824, allocations: 103.8 kB / 0.9574 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.7826, allocations: 120.1 kB / 0.9576 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.7827, allocations: 10.41 kB / 0.9576 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.7828, allocations: 36.34 kB / 0.9576 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.104e-05/0.7828, allocations: 38.94 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.203e-05/0.7829, allocations: 75.05 kB / 0.9577 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.7831, allocations: 216.1 kB / 0.9579 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7831, allocations: 0 / 0.9579 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.646e-06/0.7831, allocations: 1.469 kB / 0.9579 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.7831, allocations: 0 / 0.9579 GB, free: 5.02 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006674/0.7838, allocations: 0.5265 MB / 0.9584 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.7839, allocations: 10.34 kB / 0.9584 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.884e-05/0.7839, allocations: 55.86 kB / 0.9585 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.215e-05/0.784, allocations: 35.95 kB / 0.9585 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.7842, allocations: 254.4 kB / 0.9588 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.7843, allocations: 16.25 kB / 0.9588 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.7843, allocations: 15.72 kB / 0.9588 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.7846, allocations: 190 kB / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.7847, allocations: 0 / 0.959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.7847, allocations: 9.375 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.7847, allocations: 5.5 kB / 0.959 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.785, allocations: 140 kB / 0.9591 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008308/0.7859, allocations: 0.8217 MB / 0.9599 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.7862, allocations: 131.1 kB / 0.9601 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.7864, allocations: 67.39 kB / 0.9601 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.7864, allocations: 2.281 kB / 0.9601 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.7864, allocations: 31.56 kB / 0.9602 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.7864, allocations: 0 / 0.9602 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0004885/0.7869, allocations: 202 kB / 0.9603 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.7869, allocations: 53.41 kB / 0.9604 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.7872, allocations: 229.6 kB / 0.9606 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.7872, allocations: 30.7 kB / 0.9606 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.7873, allocations: 160.6 kB / 0.9608 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.288e-05/0.7873, allocations: 37.09 kB / 0.9608 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.7873, allocations: 8 kB / 0.9608 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.533e-05/0.7874, allocations: 336.1 kB / 0.9612 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.7875, allocations: 39.81 kB / 0.9612 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.617e-05/0.7876, allocations: 40.53 kB / 0.9612 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.7877, allocations: 44.73 kB / 0.9613 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7878, allocations: 0 / 0.9613 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000309/0.7881, allocations: 150.4 kB / 0.9614 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.12e-05/0.7881, allocations: 99.77 kB / 0.9615 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.7881, allocations: 0 / 0.9615 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.7882, allocations: 1.219 kB / 0.9615 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.7883, allocations: 30.11 kB / 0.9615 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.7883, allocations: 5.047 kB / 0.9616 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.7884, allocations: 20.58 kB / 0.9616 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.7884, allocations: 11.08 kB / 0.9616 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.7884, allocations: 3.062 kB / 0.9616 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002302/0.7887, allocations: 104.5 kB / 0.9617 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.7887, allocations: 0 / 0.9617 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-06/0.7887, allocations: 5.016 kB / 0.9617 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.7888, allocations: 29.23 kB / 0.9617 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/0.7888, allocations: 0.9375 kB / 0.9617 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.967e-05/0.7889, allocations: 20.67 kB / 0.9617 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.7889, allocations: 2.812 kB / 0.9617 GB, free: 1.844 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 9.986e-05/0.789, allocations: 202 kB / 0.9619 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.7891, allocations: 22.61 kB / 0.962 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.7894, allocations: 170.6 kB / 0.9621 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.7894, allocations: 2.203 kB / 0.9621 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.7894, allocations: 3.938 kB / 0.9621 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.7895, allocations: 1.125 kB / 0.9621 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.7897, allocations: 269.7 kB / 0.9624 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.7897, allocations: 5.125 kB / 0.9624 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.7898, allocations: 33.61 kB / 0.9624 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.7898, allocations: 5.047 kB / 0.9624 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.7899, allocations: 4.812 kB / 0.9624 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.7899, allocations: 4.953 kB / 0.9624 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7899, allocations: 3.938 kB / 0.9624 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.7902, allocations: 252.3 kB / 0.9627 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.7903, allocations: 105.4 kB / 0.9628 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.7903, allocations: 9.172 kB / 0.9628 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.7904, allocations: 11.27 kB / 0.9628 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.496e-05/0.7905, allocations: 16.67 kB / 0.9628 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.7905, allocations: 2.594 kB / 0.9628 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001339/0.7906, allocations: 168 kB / 0.963 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7906, allocations: 1.375 kB / 0.963 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004071/0.7911, allocations: 105.9 kB / 0.9631 GB, free: 0.7461 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 (13): * Single equations (assignments): 13 * 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.0005564/0.7916, allocations: 0.7872 MB / 0.9638 GB, free: 28 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.7921, allocations: 159.2 kB / 0.964 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7921, allocations: 0 / 0.964 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.7922, allocations: 59.84 kB / 0.9641 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004809/0.7927, allocations: 54.98 kB / 0.9641 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.7947, allocations: 1.152 MB / 0.9652 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.7951, allocations: 0.7509 MB / 0.966 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.7952, allocations: 25.86 kB / 0.966 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.988e-05/0.7953, allocations: 68.73 kB / 0.9661 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7953, allocations: 0 / 0.9661 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.8127, allocations: 4.374 MB / 0.9703 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.8129, allocations: 195.8 kB / 0.9705 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.601, allocations: 0 / 0.9705 GB, free: 12.01 MB / 0.7325 GB (rm -f Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat does not exist to compare? outputFormat=mat