Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.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.Convection.Examples.Interior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Interior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior",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.339/2.339, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001204/0.001204, allocations: 183.7 kB / 0.4901 GB, free: 2.246 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.458/1.458, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001051/0.001051, allocations: 97.45 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003347, allocations: 10.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2674, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1981/0.4656, allocations: 153.7 MB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.4659, allocations: 83.95 kB / 1.379 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02479/0.4907, allocations: 8.354 MB / 1.388 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.195e-06/0.4908, allocations: 0 / 1.388 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.684e-05/0.4908, allocations: 4 kB / 1.388 GB, free: 7.344 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001158/0.492, allocations: 0.5609 MB / 1.388 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.492, allocations: 8.562 kB / 1.388 GB, free: 6.727 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.445e-05/0.4921, allocations: 58.55 kB / 1.388 GB, free: 6.66 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.619e-05/0.4922, allocations: 31.62 kB / 1.388 GB, free: 6.629 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.4927, allocations: 305.4 kB / 1.389 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.4928, allocations: 12.44 kB / 1.389 GB, free: 6.277 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.4928, allocations: 20 kB / 1.389 GB, free: 6.258 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003923/0.4932, allocations: 175.3 kB / 1.389 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.4932, allocations: 0 / 1.389 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.4933, allocations: 15.94 kB / 1.389 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4933, allocations: 8 kB / 1.389 GB, free: 6.059 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003458/0.4936, allocations: 133.7 kB / 1.389 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.4948, allocations: 0.8314 MB / 1.39 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000347/0.4951, allocations: 138.4 kB / 1.39 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.4952, allocations: 0 / 1.39 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.4952, allocations: 38.81 kB / 1.39 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.4952, allocations: 0 / 1.39 GB, free: 4.805 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13): time 0.0005793/0.4958, allocations: 193.4 kB / 1.39 GB, free: 4.609 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.4959, allocations: 59.39 kB / 1.39 GB, free: 4.539 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.4961, allocations: 205.8 kB / 1.39 GB, free: 4.332 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.4961, allocations: 25.7 kB / 1.39 GB, free: 4.301 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.4962, allocations: 156.2 kB / 1.39 GB, free: 4.145 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.513e-05/0.4963, allocations: 47.39 kB / 1.391 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.4963, allocations: 0 / 1.391 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4964, allocations: 330.8 kB / 1.391 GB, free: 3.766 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.4966, allocations: 39.98 kB / 1.391 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.4967, allocations: 39.97 kB / 1.391 GB, free: 3.688 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.4968, allocations: 46.86 kB / 1.391 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4968, allocations: 0 / 1.391 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003164/0.4971, allocations: 153.3 kB / 1.391 GB, free: 3.488 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.036e-05/0.4972, allocations: 98.06 kB / 1.391 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4972, allocations: 0 / 1.391 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4973, allocations: 8 kB / 1.391 GB, free: 3.379 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.4974, allocations: 27.97 kB / 1.391 GB, free: 3.352 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4974, allocations: 4 kB / 1.391 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.4976, allocations: 23.83 kB / 1.391 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.4976, allocations: 4 kB / 1.391 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.4976, allocations: 4 kB / 1.391 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002573/0.4979, allocations: 111.9 kB / 1.391 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-06/0.4979, allocations: 0 / 1.391 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-06/0.4979, allocations: 0 / 1.391 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.4981, allocations: 35.88 kB / 1.391 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.4981, allocations: 0 / 1.391 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.4982, allocations: 15.98 kB / 1.391 GB, free: 3.156 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.4982, allocations: 8 kB / 1.391 GB, free: 3.148 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 (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.0001465/0.4984, allocations: 201.1 kB / 1.392 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.4984, allocations: 23.72 kB / 1.392 GB, free: 2.918 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000378/0.4988, allocations: 174.1 kB / 1.392 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4988, allocations: 3.953 kB / 1.392 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4988, allocations: 112 / 1.392 GB, free: 2.734 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.4988, allocations: 3.938 kB / 1.392 GB, free: 2.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.4992, allocations: 277.5 kB / 1.392 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4992, allocations: 0 / 1.392 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.4993, allocations: 23.98 kB / 1.392 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4993, allocations: 4 kB / 1.392 GB, free: 2.383 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.4993, allocations: 8 kB / 1.392 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4993, allocations: 0 / 1.392 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4993, allocations: 3.953 kB / 1.392 GB, free: 2.371 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.4997, allocations: 255.2 kB / 1.392 GB, free: 2.105 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.4998, allocations: 116.7 kB / 1.392 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.4999, allocations: 0 / 1.392 GB, free: 1.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.5, allocations: 15.98 kB / 1.393 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.5001, allocations: 7.984 kB / 1.393 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.5001, allocations: 7.953 kB / 1.393 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001527/0.5002, allocations: 170 kB / 1.393 GB, free: 1.777 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5003, allocations: 4 kB / 1.393 GB, free: 1.773 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004112/0.5007, allocations: 95.69 kB / 1.393 GB, free: 1.68 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 (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.0007361/0.5014, allocations: 0.7988 MB / 1.394 GB, free: 0.8555 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004293/0.5019, allocations: 159.3 kB / 1.394 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5019, allocations: 0 / 1.394 GB, free: 0.7031 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.502, allocations: 55.91 kB / 1.394 GB, free: 0.6484 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/0.5024, allocations: 53.67 kB / 1.394 GB, free: 0.5977 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.5043, allocations: 1.154 MB / 1.395 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.5047, allocations: 0.756 MB / 1.396 GB, free: 14.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.5049, allocations: 29.52 kB / 1.396 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.505, allocations: 67.41 kB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of SimCode: time 4.71e-07/0.505, allocations: 4 kB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/0.5218, allocations: 4.436 MB / 1.4 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002185/0.5221, allocations: 184.2 kB / 1.4 GB, free: 9.984 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.723/2.245, allocations: 0 / 1.4 GB, free: 9.984 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Interior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Interior_res.mat does not exist to compare? outputFormat=mat