Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.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.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer",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.0009786/0.0009786, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001292/0.001293, allocations: 168.7 kB / 15.95 MB, free: 204 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.342/1.342, allocations: 223.3 MB / 240 MB, free: 5.41 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.369/2.369, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5499/0.5502, allocations: 142.3 MB / 0.9538 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer): time 0.003388/0.5536, allocations: 3.866 MB / 0.9576 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.557, allocations: 2.758 MB / 0.9603 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007299/0.5578, allocations: 13.56 kB / 0.9603 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.5595, allocations: 0.7395 MB / 0.961 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006097/0.5601, allocations: 321.1 kB / 0.9613 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.5605, allocations: 142.7 kB / 0.9615 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008248/0.5613, allocations: 1.023 MB / 0.9625 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003722/0.5617, allocations: 288.6 kB / 0.9628 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.562, allocations: 295.4 kB / 0.963 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.5625, allocations: 378.6 kB / 0.9634 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.976e-05/0.5625, allocations: 17.97 kB / 0.9634 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.5627, allocations: 44.12 kB / 0.9635 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.5628, allocations: 132.2 kB / 0.9636 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.5629, allocations: 194.4 kB / 0.9638 GB, free: 0.6016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.5634, allocations: 0.6909 MB / 0.9644 GB, free: 116 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.5634, allocations: 1.062 kB / 0.9644 GB, free: 116 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5634, allocations: 0 / 0.9644 GB, free: 116 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.5634, allocations: 4 kB / 0.9644 GB, free: 112 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001372/0.5648, allocations: 1.074 MB / 0.9655 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.5648, allocations: 9.094 kB / 0.9655 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.729e-05/0.5649, allocations: 84.12 kB / 0.9656 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008024/0.5657, allocations: 232.6 kB / 0.9658 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000787/0.5665, allocations: 0.6385 MB / 0.9664 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.5666, allocations: 33.91 kB / 0.9665 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.5666, allocations: 40.16 kB / 0.9665 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008415/0.5675, allocations: 477 kB / 0.967 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.5675, allocations: 0.9688 kB / 0.967 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.5675, allocations: 23.86 kB / 0.967 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.5675, allocations: 13.95 kB / 0.967 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008942/0.5684, allocations: 405.6 kB / 0.9674 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.571, allocations: 1.482 MB / 0.9688 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000645/0.5717, allocations: 272.5 kB / 0.9691 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.572, allocations: 144.2 kB / 0.9692 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.572, allocations: 7.484 kB / 0.9692 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.5721, allocations: 37.12 kB / 0.9693 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/0.5721, allocations: 0 / 0.9693 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.002155/0.5742, allocations: 0.695 MB / 0.9699 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/0.5743, allocations: 84.58 kB / 0.97 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.5757, allocations: 0.9211 MB / 0.9709 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.5758, allocations: 30.98 kB / 0.971 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.5761, allocations: 424.7 kB / 0.9714 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.975e-05/0.5762, allocations: 98.12 kB / 0.9715 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.5763, allocations: 5.406 kB / 0.9715 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5764, allocations: 317.6 kB / 0.9718 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.5768, allocations: 132.9 kB / 0.9719 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003704/0.5771, allocations: 167.3 kB / 0.972 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004492/0.5776, allocations: 156.6 kB / 0.9722 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5776, allocations: 4.828 kB / 0.9722 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001232/0.5788, allocations: 0.4926 MB / 0.9727 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.252e-05/0.5789, allocations: 96.7 kB / 0.9728 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.5789, allocations: 3.938 kB / 0.9728 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/0.5794, allocations: 90.25 kB / 0.9729 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/0.5797, allocations: 69.27 kB / 0.9729 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001863/0.5816, allocations: 1.689 MB / 0.9746 GB, free: 8.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.5823, allocations: 91.45 kB / 0.9747 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.5823, allocations: 10.05 kB / 0.9747 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.214e-06/0.5823, allocations: 3.906 kB / 0.9747 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001/0.5833, allocations: 393.4 kB / 0.9751 GB, free: 8.355 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-06/0.5833, allocations: 7.875 kB / 0.9751 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003292/0.5837, allocations: 82.83 kB / 0.9751 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.584, allocations: 72.12 kB / 0.9752 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.5855, allocations: 1.651 MB / 0.9768 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.5861, allocations: 77.05 kB / 0.9769 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.5861, allocations: 13.89 kB / 0.9769 GB, free: 6.676 MB / 0.7325 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 (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0004381/0.5865, allocations: 344.3 kB / 0.9772 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.5867, allocations: 88.12 kB / 0.9773 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.5868, allocations: 95.31 kB / 0.9774 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.5868, allocations: 3.344 kB / 0.9774 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.5868, allocations: 0 / 0.9774 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5868, allocations: 3.984 kB / 0.9774 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.5884, allocations: 1.061 MB / 0.9785 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.5884, allocations: 1.156 kB / 0.9785 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.5886, allocations: 43.28 kB / 0.9785 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002993/0.5889, allocations: 87.7 kB / 0.9786 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.589, allocations: 11.05 kB / 0.9786 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/0.5904, allocations: 1.645 MB / 0.9802 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5904, allocations: 2.719 kB / 0.9802 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009149/0.5914, allocations: 0.5327 MB / 0.9807 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.5917, allocations: 185.7 kB / 0.9809 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.5918, allocations: 7.719 kB / 0.9809 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.5924, allocations: 43.59 kB / 0.9809 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.5925, allocations: 21.91 kB / 0.981 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.5925, allocations: 10.34 kB / 0.981 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0009396/0.5934, allocations: 0.6633 MB / 0.9816 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5934, allocations: 0 / 0.9816 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007428/0.5942, allocations: 263.5 kB / 0.9819 GB, free: 2.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/0.5954, allocations: 1.091 MB / 0.9829 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001486/0.5969, allocations: 0.7549 MB / 0.9837 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5969, allocations: 0 / 0.9837 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.5973, allocations: 264.1 kB / 0.9839 GB, free: 344 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/0.5981, allocations: 163.5 kB / 0.9841 GB, free: 180 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007478/0.6056, allocations: 5.014 MB / 0.989 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005656/0.6062, allocations: 1.039 MB / 0.99 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0004753/0.6066, allocations: 121.3 kB / 0.9901 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000325/0.607, allocations: 303.3 kB / 0.9904 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.607, allocations: 0 / 0.9904 GB, free: 9.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07356/0.6805, allocations: 16.27 MB / 1.006 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.6808, allocations: 236.9 kB / 1.007 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.215/2.896, allocations: 0 / 1.007 GB, free: 9.297 MB / 0.7637 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_BoundaryHeatTransfer.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.Examples.BoundaryHeatTransfer_res.mat does not exist to compare? outputFormat=mat