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.234/2.234, allocations: 390.5 MB / 398 MB, free: 10.89 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.001024/0.001024, allocations: 184.8 kB / 491.2 MB, free: 1.547 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.512/1.512, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.0009818/0.0009816, allocations: 91.58 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.882e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8144/1.084, allocations: 157.6 MB / 1.366 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.084, allocations: 91.91 kB / 1.366 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04004/1.124, allocations: 16.44 MB / 1.382 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/1.124, allocations: 3.938 kB / 1.382 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.332e-05/1.124, allocations: 7.688 kB / 1.382 GB, free: 30.89 MB / 0.8386 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.00107/1.125, allocations: 0.647 MB / 1.383 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/1.125, allocations: 7.656 kB / 1.383 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09244/1.218, allocations: 11.07 MB / 1.394 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/1.232, allocations: 2.5 MB / 1.396 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/1.232, allocations: 8 kB / 1.396 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004799/1.233, allocations: 16 kB / 1.396 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001145/1.234, allocations: 0.6959 MB / 1.397 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/1.235, allocations: 0.9348 MB / 1.398 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.235, allocations: 0 / 1.398 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/1.235, allocations: 0 / 1.398 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/1.235, allocations: 7.953 kB / 1.398 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004919/1.24, allocations: 5.417 MB / 1.403 GB, free: 18.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/1.241, allocations: 0.69 MB / 1.404 GB, free: 17.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006404/1.242, allocations: 0.531 MB / 1.404 GB, free: 17.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-05/1.242, allocations: 33.92 kB / 1.404 GB, free: 17.66 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/1.242, allocations: 30.56 kB / 1.405 GB, free: 17.62 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 2.555e-06/1.242, allocations: 4 kB / 1.405 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.006188/1.248, allocations: 1.867 MB / 1.406 GB, free: 16.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/1.248, allocations: 55.41 kB / 1.406 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000238/1.248, allocations: 238.8 kB / 1.407 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002364/1.249, allocations: 29.7 kB / 1.407 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/1.249, allocations: 203.9 kB / 1.407 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/1.249, allocations: 69.67 kB / 1.407 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/1.249, allocations: 0 / 1.407 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.249, allocations: 347.5 kB / 1.407 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/1.251, allocations: 1.063 MB / 1.408 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/1.252, allocations: 1.118 MB / 1.409 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/1.264, allocations: 2.435 MB / 1.412 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/1.264, allocations: 4 kB / 1.412 GB, free: 12.16 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.01375/1.277, allocations: 3.753 MB / 1.415 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.449e-05/1.277, allocations: 92.95 kB / 1.416 GB, free: 9.246 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01241/1.29, allocations: 3.34 MB / 1.419 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.29, allocations: 0 / 1.419 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008573/1.299, allocations: 0.9502 MB / 1.42 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/1.299, allocations: 4 kB / 1.42 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008086/1.307, allocations: 0.7832 MB / 1.42 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00039/1.307, allocations: 74.44 kB / 1.421 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.307, allocations: 0 / 1.421 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01426/1.321, allocations: 3.707 MB / 1.424 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01249/1.334, allocations: 3.326 MB / 1.427 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.334, allocations: 3.938 kB / 1.427 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00837/1.342, allocations: 0.9508 MB / 1.428 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/1.342, allocations: 7.984 kB / 1.428 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007894/1.35, allocations: 0.7793 MB / 1.429 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/1.351, allocations: 70.94 kB / 1.429 GB, free: 13.82 MB / 0.8542 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 () * 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.0005135/1.351, allocations: 120.4 kB / 1.429 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006848/1.358, allocations: 1.84 MB / 1.431 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/1.358, allocations: 31.62 kB / 1.431 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006425/1.365, allocations: 1.783 MB / 1.433 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.365, allocations: 4 kB / 1.433 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.365, allocations: 0 / 1.433 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.365, allocations: 3.953 kB / 1.433 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.366, allocations: 1.033 MB / 1.434 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003778/1.37, allocations: 1.188 MB / 1.435 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002794/1.373, allocations: 331.4 kB / 1.435 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/1.373, allocations: 0 / 1.435 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/1.373, allocations: 26.89 kB / 1.435 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/1.373, allocations: 4 kB / 1.435 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.373, allocations: 0 / 1.435 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004035/1.377, allocations: 1.325 MB / 1.437 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/1.377, allocations: 237.1 kB / 1.437 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/1.377, allocations: 0 / 1.437 GB, free: 7.406 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.38, allocations: 239.8 kB / 1.437 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/1.38, allocations: 27.77 kB / 1.437 GB, free: 7.148 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.048e-05/1.38, allocations: 23.97 kB / 1.437 GB, free: 7.125 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001989/1.38, allocations: 189.2 kB / 1.437 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.38, allocations: 0 / 1.437 GB, free: 6.973 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001641/1.382, allocations: 363.3 kB / 1.438 GB, free: 6.621 MB / 0.8542 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.004572/1.387, allocations: 1.949 MB / 1.44 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003871/1.39, allocations: 2.395 MB / 1.442 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.39, allocations: 0 / 1.442 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005905/1.391, allocations: 410.1 kB / 1.442 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/1.392, allocations: 56.8 kB / 1.442 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/1.393, allocations: 0.7292 MB / 1.443 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004122/1.394, allocations: 0.8078 MB / 1.444 GB, free: 1.805 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004397/1.398, allocations: 0.7146 MB / 1.445 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009793/1.399, allocations: 227.6 kB / 1.445 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of SimCode: time 7.72e-07/1.399, allocations: 0 / 1.445 GB, free: 0.9531 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07235/1.471, allocations: 39.23 MB / 1.483 GB, free: 9.656 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002149/1.472, allocations: 163 kB / 1.483 GB, free: 9.461 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.502/5.974, allocations: 0 / 1.483 GB, free: 9.461 MB / 0.9011 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