Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.InteriorConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.49/2.49, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001524/0.001524, allocations: 168 kB / 0.4901 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.825/1.825, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001372/0.001371, allocations: 107 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004327, allocations: 10.5 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3779, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.5749, allocations: 153.8 MB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.5753, allocations: 91.94 kB / 1.38 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.009438/0.5847, allocations: 3.283 MB / 1.383 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.897e-06/0.5848, allocations: 0 / 1.383 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.5848, allocations: 7.938 kB / 1.383 GB, free: 12.27 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006141/0.5854, allocations: 419 kB / 1.383 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.5855, allocations: 11.97 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.207e-05/0.5855, allocations: 46.48 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.5856, allocations: 11.81 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.5858, allocations: 210.8 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.5859, allocations: 4 kB / 1.383 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.5859, allocations: 8 kB / 1.383 GB, free: 11.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.5861, allocations: 97.58 kB / 1.384 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5862, allocations: 0 / 1.384 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5862, allocations: 4 kB / 1.384 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.5862, allocations: 0 / 1.384 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.5864, allocations: 81.81 kB / 1.384 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006101/0.587, allocations: 392.3 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.5873, allocations: 70.47 kB / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.5873, allocations: 0 / 1.384 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.5874, allocations: 34.56 kB / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5874, allocations: 0 / 1.384 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0003725/0.5878, allocations: 109.8 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.5878, allocations: 59.41 kB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.5879, allocations: 141.4 kB / 1.384 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.588, allocations: 25.7 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.676e-05/0.588, allocations: 107.9 kB / 1.385 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.5881, allocations: 11.84 kB / 1.385 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.5881, allocations: 0 / 1.385 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5882, allocations: 322.8 kB / 1.385 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.523e-05/0.5883, allocations: 35.91 kB / 1.385 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.5884, allocations: 19.98 kB / 1.385 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.602e-05/0.5885, allocations: 23.98 kB / 1.385 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5885, allocations: 0 / 1.385 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00023/0.5887, allocations: 101.5 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.5888, allocations: 89 kB / 1.385 GB, free: 9.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5888, allocations: 3.984 kB / 1.385 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.5888, allocations: 8 kB / 1.385 GB, free: 9.648 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/0.5889, allocations: 8 kB / 1.385 GB, free: 9.641 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.5889, allocations: 7.984 kB / 1.385 GB, free: 9.633 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.589, allocations: 4 kB / 1.385 GB, free: 9.629 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.589, allocations: 4 kB / 1.385 GB, free: 9.625 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.589, allocations: 7.938 kB / 1.385 GB, free: 9.617 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001941/0.5892, allocations: 63.89 kB / 1.385 GB, free: 9.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.596e-06/0.5892, allocations: 4 kB / 1.385 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.782e-06/0.5892, allocations: 3.953 kB / 1.385 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.5893, allocations: 11.98 kB / 1.385 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.5893, allocations: 4 kB / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.5894, allocations: 15.89 kB / 1.385 GB, free: 9.516 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.5894, allocations: 7.938 kB / 1.385 GB, free: 9.508 MB / 0.8855 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 (4): * Single equations (assignments): 4 * 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.0001129/0.5895, allocations: 189.9 kB / 1.385 GB, free: 9.312 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.5896, allocations: 7.906 kB / 1.385 GB, free: 9.305 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.5898, allocations: 105.8 kB / 1.386 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5898, allocations: 0 / 1.386 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5899, allocations: 4 kB / 1.386 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.5899, allocations: 0 / 1.386 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.5901, allocations: 189.6 kB / 1.386 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5901, allocations: 0 / 1.386 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.784e-05/0.5901, allocations: 11.98 kB / 1.386 GB, free: 8.945 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5902, allocations: 4 kB / 1.386 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.5902, allocations: 0 / 1.386 GB, free: 8.941 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5902, allocations: 7.953 kB / 1.386 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5902, allocations: 0 / 1.386 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.5904, allocations: 183.4 kB / 1.386 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.792e-05/0.5905, allocations: 93.47 kB / 1.386 GB, free: 8.629 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.5905, allocations: 4 kB / 1.386 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.834e-05/0.5906, allocations: 4 kB / 1.386 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.5907, allocations: 7.938 kB / 1.386 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.5907, allocations: 4 kB / 1.386 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 8.47e-05/0.5908, allocations: 119.1 kB / 1.386 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5908, allocations: 0 / 1.386 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002911/0.5911, allocations: 31.91 kB / 1.386 GB, free: 8.461 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005883/0.5917, allocations: 0.7318 MB / 1.387 GB, free: 7.699 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003149/0.592, allocations: 87.88 kB / 1.387 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.592, allocations: 0 / 1.387 GB, free: 7.613 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.285e-05/0.5921, allocations: 27.98 kB / 1.387 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.5924, allocations: 36.5 kB / 1.387 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.5936, allocations: 0.6547 MB / 1.388 GB, free: 6.848 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.5939, allocations: 0.7043 MB / 1.388 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 6.155e-05/0.5939, allocations: 16.41 kB / 1.388 GB, free: 6.102 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.482e-05/0.594, allocations: 23.42 kB / 1.388 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of SimCode: time 4.91e-07/0.594, allocations: 3.938 kB / 1.388 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.6089, allocations: 2.33 MB / 1.391 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.6092, allocations: 206.2 kB / 1.391 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.269, allocations: 2.531 kB / 1.391 GB, free: 3.688 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection_res.mat does not exist to compare? outputFormat=mat