Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior",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.001208/0.001208, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001471/0.001471, allocations: 177.3 kB / 15.94 MB, free: 228 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.477/1.477, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.543/2.543, allocations: 409.2 MB / 0.6838 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003436/0.0003436, allocations: 8 kB / 0.8375 GB, free: 6.574 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7423/0.7426, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.002373/0.745, allocations: 2.149 MB / 0.983 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.7475, allocations: 1.65 MB / 0.9846 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.7477, allocations: 11.94 kB / 0.9846 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.738e-05/0.7478, allocations: 31.7 kB / 0.9846 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.7482, allocations: 143.6 kB / 0.9847 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.7488, allocations: 275.3 kB / 0.985 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.7493, allocations: 359.7 kB / 0.9853 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.7495, allocations: 119.7 kB / 0.9855 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.7497, allocations: 155.4 kB / 0.9856 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.7499, allocations: 155.2 kB / 0.9858 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.273e-05/0.7499, allocations: 16 kB / 0.9858 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006023/0.7506, allocations: 411.4 kB / 0.9862 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.7506, allocations: 51.77 kB / 0.9862 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.635e-05/0.7507, allocations: 89.52 kB / 0.9863 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003977/0.7511, allocations: 381.3 kB / 0.9867 GB, free: 332 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.7511, allocations: 0 / 0.9867 GB, free: 332 kB / 0.7325 GB Notification: Performance of FrontEnd: time 2.906e-06/0.7511, allocations: 4 kB / 0.9867 GB, free: 328 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.7511, allocations: 3.938 kB / 0.9867 GB, free: 324 kB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0009576/0.7521, allocations: 0.6468 MB / 0.9873 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7522, allocations: 12.03 kB / 0.9873 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.936e-05/0.7522, allocations: 66.53 kB / 0.9874 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008157/0.7531, allocations: 115.3 kB / 0.9875 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.7534, allocations: 298.3 kB / 0.9878 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.7534, allocations: 24.66 kB / 0.9878 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.936e-05/0.7535, allocations: 35.94 kB / 0.9878 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.7542, allocations: 313.9 kB / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.7542, allocations: 0 / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.7542, allocations: 19.94 kB / 0.9881 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.7543, allocations: 8 kB / 0.9882 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008056/0.7551, allocations: 298.4 kB / 0.9884 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.7566, allocations: 0.8969 MB / 0.9893 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/0.7575, allocations: 298.6 kB / 0.9896 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.7576, allocations: 89.47 kB / 0.9897 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.7577, allocations: 38.56 kB / 0.9897 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.7577, allocations: 0 / 0.9897 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.001276/0.759, allocations: 408.8 kB / 0.9901 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.759, allocations: 51.41 kB / 0.9902 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003142/0.7593, allocations: 333.7 kB / 0.9905 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.7594, allocations: 29.7 kB / 0.9905 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.7595, allocations: 188.5 kB / 0.9907 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.627e-05/0.7596, allocations: 86.75 kB / 0.9908 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.7596, allocations: 7.938 kB / 0.9908 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7597, allocations: 350.8 kB / 0.9911 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003571/0.7601, allocations: 104.5 kB / 0.9912 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.7604, allocations: 113 kB / 0.9913 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.7608, allocations: 113.9 kB / 0.9914 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.7608, allocations: 0 / 0.9914 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009023/0.7617, allocations: 341 kB / 0.9918 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.7617, allocations: 11.92 kB / 0.9918 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7617, allocations: 4 kB / 0.9918 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.7618, allocations: 4 kB / 0.9918 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004194/0.7622, allocations: 75.92 kB / 0.9918 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.7622, allocations: 7.984 kB / 0.9919 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003119/0.7625, allocations: 51.56 kB / 0.9919 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.7626, allocations: 11.98 kB / 0.9919 GB, free: 10.7 MB / 0.7481 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 (33): * Single equations (assignments): 33 * 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.0001491/0.7627, allocations: 145.8 kB / 0.9921 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.7628, allocations: 35.56 kB / 0.9921 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.7639, allocations: 391.6 kB / 0.9925 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.7639, allocations: 4 kB / 0.9925 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7639, allocations: 0 / 0.9925 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7639, allocations: 0 / 0.9925 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.7643, allocations: 357.2 kB / 0.9928 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.7643, allocations: 0 / 0.9928 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003355/0.7646, allocations: 59.94 kB / 0.9929 GB, free: 9.652 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7646, allocations: 3.938 kB / 0.9929 GB, free: 9.648 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.7647, allocations: 11.98 kB / 0.9929 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.7647, allocations: 0 / 0.9929 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7647, allocations: 0 / 0.9929 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007947/0.7655, allocations: 299.9 kB / 0.9932 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.7656, allocations: 144.6 kB / 0.9933 GB, free: 9.168 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.7657, allocations: 4 kB / 0.9933 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.766, allocations: 27.91 kB / 0.9933 GB, free: 9.137 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.7661, allocations: 19.92 kB / 0.9933 GB, free: 9.117 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.7661, allocations: 7.984 kB / 0.9934 GB, free: 9.109 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002429/0.7663, allocations: 247.2 kB / 0.9936 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7663, allocations: 4 kB / 0.9936 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003621/0.7667, allocations: 99.91 kB / 0.9937 GB, free: 8.77 MB / 0.7481 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 (21): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001156/0.7679, allocations: 0.8671 MB / 0.9945 GB, free: 7.871 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007495/0.7686, allocations: 251.8 kB / 0.9948 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7686, allocations: 0 / 0.9948 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.769, allocations: 121.1 kB / 0.9949 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.7696, allocations: 118.8 kB / 0.995 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.7711, allocations: 0.9695 MB / 0.996 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.7714, allocations: 0.7872 MB / 0.9967 GB, free: 5.562 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003147/0.7717, allocations: 74.83 kB / 0.9968 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/0.7719, allocations: 111.4 kB / 0.9969 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.7719, allocations: 0 / 0.9969 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01848/0.7904, allocations: 7.831 MB / 1.005 GB, free: 13.73 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/0.7906, allocations: 186.8 kB / 1.005 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.919/2.71, allocations: 0 / 1.005 GB, free: 13.49 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat does not exist to compare? outputFormat=mat