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.001256/0.001256, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001575/0.001575, allocations: 177.3 kB / 15.95 MB, free: 216 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.389/1.389, allocations: 223.2 MB / 239.9 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.393/2.393, allocations: 390.3 MB / 0.6653 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 12 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7845/0.7848, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Interior): time 0.002161/0.787, allocations: 1.911 MB / 0.9555 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.7884, allocations: 0.8869 MB / 0.9563 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.7885, allocations: 5.156 kB / 0.9563 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.864e-05/0.7886, allocations: 26.3 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003292/0.7889, allocations: 123.4 kB / 0.9565 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.7892, allocations: 141.8 kB / 0.9566 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.7896, allocations: 269.5 kB / 0.9569 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.7898, allocations: 86.3 kB / 0.9569 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.7899, allocations: 114.7 kB / 0.9571 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.7901, allocations: 113.5 kB / 0.9572 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.7902, allocations: 13.88 kB / 0.9572 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.7903, allocations: 37.14 kB / 0.9572 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.7903, allocations: 39.61 kB / 0.9572 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.7904, allocations: 79.58 kB / 0.9573 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.7906, allocations: 201.4 kB / 0.9575 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.7906, allocations: 0 / 0.9575 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7906, allocations: 0 / 0.9575 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.7906, allocations: 1.469 kB / 0.9575 GB, free: 5.102 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.0006453/0.7913, allocations: 0.534 MB / 0.958 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.7913, allocations: 8.625 kB / 0.958 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.477e-05/0.7914, allocations: 53.11 kB / 0.9581 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.7914, allocations: 35.86 kB / 0.9581 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002687/0.7917, allocations: 250.2 kB / 0.9584 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.7917, allocations: 16.19 kB / 0.9584 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.7918, allocations: 16.94 kB / 0.9584 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003754/0.7922, allocations: 192.5 kB / 0.9586 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7922, allocations: 0 / 0.9586 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.7922, allocations: 9.906 kB / 0.9586 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.7922, allocations: 3.656 kB / 0.9586 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.7925, allocations: 136.1 kB / 0.9587 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.7935, allocations: 0.8215 MB / 0.9595 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003472/0.7938, allocations: 128.6 kB / 0.9597 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.7939, allocations: 1.375 kB / 0.9597 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.7939, allocations: 39.94 kB / 0.9597 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 2.625e-06/0.7939, allocations: 112 / 0.9597 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0005277/0.7944, allocations: 195.2 kB / 0.9599 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.7945, allocations: 56.78 kB / 0.9599 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.7947, allocations: 238.5 kB / 0.9602 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.7947, allocations: 26.86 kB / 0.9602 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.7948, allocations: 156.6 kB / 0.9603 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.7949, allocations: 43.92 kB / 0.9604 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/0.7949, allocations: 1.219 kB / 0.9604 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.636e-05/0.795, allocations: 334.6 kB / 0.9607 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.7951, allocations: 39.64 kB / 0.9607 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.7952, allocations: 43.12 kB / 0.9608 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.7954, allocations: 41.45 kB / 0.9608 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7954, allocations: 0 / 0.9608 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003252/0.7957, allocations: 152.9 kB / 0.961 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.7958, allocations: 95.22 kB / 0.9611 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.7958, allocations: 0 / 0.9611 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.7958, allocations: 9 kB / 0.9611 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.7959, allocations: 26.7 kB / 0.9611 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.7959, allocations: 3.984 kB / 0.9611 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.7961, allocations: 17 kB / 0.9611 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.7961, allocations: 7.094 kB / 0.9611 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.277e-06/0.7961, allocations: 7.609 kB / 0.9611 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000253/0.7964, allocations: 111.6 kB / 0.9612 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-06/0.7964, allocations: 1.156 kB / 0.9612 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-06/0.7964, allocations: 1.031 kB / 0.9612 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.7965, allocations: 25.77 kB / 0.9613 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-06/0.7965, allocations: 0 / 0.9613 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.7966, allocations: 21.11 kB / 0.9613 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.7966, allocations: 3.156 kB / 0.9613 GB, free: 1.961 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 0.0001033/0.7967, allocations: 202.3 kB / 0.9615 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.7968, allocations: 25.61 kB / 0.9615 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.7971, allocations: 177.5 kB / 0.9617 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.7972, allocations: 1.5 kB / 0.9617 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7972, allocations: 0 / 0.9617 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.7972, allocations: 0.9062 kB / 0.9617 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.7975, allocations: 274.1 kB / 0.9619 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.7975, allocations: 0 / 0.9619 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.7976, allocations: 29.95 kB / 0.962 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.7976, allocations: 5.281 kB / 0.962 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.7976, allocations: 4.922 kB / 0.962 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7976, allocations: 0.875 kB / 0.962 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7976, allocations: 3.938 kB / 0.962 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.798, allocations: 249.6 kB / 0.9622 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.328e-05/0.798, allocations: 109 kB / 0.9623 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.003e-05/0.7981, allocations: 0.75 kB / 0.9623 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.7982, allocations: 19.78 kB / 0.9623 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.7983, allocations: 7.984 kB / 0.9623 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.7983, allocations: 3 kB / 0.9623 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001594/0.7984, allocations: 172.1 kB / 0.9625 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7985, allocations: 5.312 kB / 0.9625 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004431/0.7989, allocations: 101.2 kB / 0.9626 GB, free: 0.8672 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.0006388/0.7995, allocations: 0.7925 MB / 0.9634 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004372/0.8, allocations: 162.4 kB / 0.9635 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8, allocations: 0 / 0.9635 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.8001, allocations: 56 kB / 0.9636 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.8005, allocations: 53.39 kB / 0.9636 GB, free: 40 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.8024, allocations: 1.141 MB / 0.9648 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.8027, allocations: 0.7565 MB / 0.9655 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.839e-05/0.8028, allocations: 29.02 kB / 0.9655 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.679e-05/0.8029, allocations: 69.23 kB / 0.9656 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.8029, allocations: 1.344 kB / 0.9656 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.8185, allocations: 4.361 MB / 0.9698 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/0.8187, allocations: 188 kB / 0.97 GB, free: 12.13 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.96, allocations: 0 / 0.97 GB, free: 12.13 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