Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.155/2.155, allocations: 390.3 MB / 402.8 MB, free: 6.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 184.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.3 MB / 0.7915 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 91.56 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.241e-05/3.261e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2969, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8981/1.195, allocations: 158.3 MB / 1.373 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/1.195, allocations: 92.62 kB / 1.374 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.04413/1.24, allocations: 16.6 MB / 1.39 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.252e-06/1.24, allocations: 0 / 1.39 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.764e-05/1.24, allocations: 15.98 kB / 1.39 GB, free: 13.53 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009727/1.241, allocations: 0.6443 MB / 1.39 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/1.241, allocations: 8.031 kB / 1.39 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.843e-05/1.241, allocations: 60.67 kB / 1.39 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09489/1.336, allocations: 11.07 MB / 1.401 GB, free: 1.848 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01475/1.35, allocations: 2.497 MB / 1.404 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/1.35, allocations: 22.88 kB / 1.404 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003777/1.351, allocations: 35.44 kB / 1.404 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/1.352, allocations: 0.9545 MB / 1.405 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/1.352, allocations: 0 / 1.405 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/1.353, allocations: 16.5 kB / 1.405 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/1.353, allocations: 7.953 kB / 1.405 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001079/1.354, allocations: 0.704 MB / 1.405 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005736/1.359, allocations: 5.478 MB / 1.411 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/1.36, allocations: 0.6806 MB / 1.411 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/1.361, allocations: 0.5379 MB / 1.412 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/1.361, allocations: 34.11 kB / 1.412 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/1.361, allocations: 34.52 kB / 1.412 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=22): time 3.537e-06/1.361, allocations: 0 / 1.412 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22): time 0.002268/1.364, allocations: 1.105 MB / 1.413 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/1.364, allocations: 55.41 kB / 1.413 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/1.364, allocations: 290.7 kB / 1.413 GB, free: 7.164 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002118/1.364, allocations: 29.64 kB / 1.413 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/1.365, allocations: 200.1 kB / 1.414 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/1.365, allocations: 77.78 kB / 1.414 GB, free: 6.918 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001772/1.365, allocations: 7 kB / 1.414 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.365, allocations: 345.2 kB / 1.414 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/1.367, allocations: 1.058 MB / 1.415 GB, free: 5.996 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/1.368, allocations: 1.132 MB / 1.416 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/1.37, allocations: 0.9069 MB / 1.417 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/1.37, allocations: 0 / 1.417 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003853/1.374, allocations: 2.227 MB / 1.419 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.437e-05/1.374, allocations: 181.6 kB / 1.419 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003033/1.377, allocations: 1.872 MB / 1.421 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/1.377, allocations: 4 kB / 1.421 GB, free: 2.113 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008519/1.385, allocations: 0.9505 MB / 1.422 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/1.385, allocations: 0 / 1.422 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00787/1.393, allocations: 0.799 MB / 1.423 GB, free: 388 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/1.393, allocations: 73.31 kB / 1.423 GB, free: 320 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/1.393, allocations: 4 kB / 1.423 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003924/1.397, allocations: 2.179 MB / 1.425 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003158/1.401, allocations: 1.86 MB / 1.427 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/1.401, allocations: 0 / 1.427 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008384/1.409, allocations: 0.9558 MB / 1.428 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.409, allocations: 4 kB / 1.428 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007776/1.417, allocations: 0.7958 MB / 1.429 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/1.417, allocations: 71.83 kB / 1.429 GB, free: 10.54 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0003576/1.417, allocations: 124.9 kB / 1.429 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/1.418, allocations: 31.62 kB / 1.429 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/1.421, allocations: 1.367 MB / 1.43 GB, free: 9.008 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/1.421, allocations: 4 kB / 1.43 GB, free: 9.004 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.421, allocations: 3.953 kB / 1.43 GB, free: 9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.421, allocations: 4 kB / 1.43 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.423, allocations: 1.078 MB / 1.431 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00127/1.424, allocations: 0.7633 MB / 1.432 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002795/1.427, allocations: 335.6 kB / 1.432 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/1.427, allocations: 0 / 1.432 GB, free: 6.684 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/1.427, allocations: 31.91 kB / 1.432 GB, free: 6.652 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.427, allocations: 4 kB / 1.432 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.427, allocations: 0 / 1.432 GB, free: 6.648 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/1.428, allocations: 0.8973 MB / 1.433 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003424/1.429, allocations: 240.3 kB / 1.433 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/1.429, allocations: 8 kB / 1.433 GB, free: 5.473 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.431, allocations: 243.7 kB / 1.434 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/1.431, allocations: 23.83 kB / 1.434 GB, free: 5.211 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.424e-05/1.431, allocations: 31.95 kB / 1.434 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002093/1.432, allocations: 222.2 kB / 1.434 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.51e-07/1.432, allocations: 4 kB / 1.434 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001239/1.433, allocations: 371.6 kB / 1.434 GB, free: 4.594 MB / 0.8855 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.001898/1.435, allocations: 1.54 MB / 1.436 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004059/1.439, allocations: 2.408 MB / 1.438 GB, free: 0.6211 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.439, allocations: 3.938 kB / 1.438 GB, free: 0.6172 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006481/1.439, allocations: 419.8 kB / 1.439 GB, free: 212 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/1.44, allocations: 81.94 kB / 1.439 GB, free: 132 kB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/1.441, allocations: 0.7676 MB / 1.439 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/1.442, allocations: 0.8046 MB / 1.44 GB, free: 14.49 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004103/1.446, allocations: 0.7149 MB / 1.441 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009709/1.447, allocations: 231.2 kB / 1.441 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of SimCode: time 3.41e-07/1.447, allocations: 0 / 1.441 GB, free: 13.55 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06483/1.512, allocations: 41.86 MB / 1.482 GB, free: 3.738 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/1.512, allocations: 177.9 kB / 1.482 GB, free: 3.512 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.451/5.963, allocations: 7.938 kB / 1.482 GB, free: 3.504 MB / 0.9323 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_GasConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.GasConvection_res.mat does not exist to compare? outputFormat=mat