Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang",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.001121/0.001121, allocations: 98.83 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.001084/0.001084, allocations: 177.3 kB / 15.95 MB, free: 216 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.397/1.397, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003646, allocations: 11.94 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6448/0.6452, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.Overhang): time 0.004414/0.6496, allocations: 4.481 MB / 0.958 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1505/0.8002, allocations: 128.1 MB / 1.083 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.8015, allocations: 15.88 kB / 1.083 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.802, allocations: 95.17 kB / 1.083 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.8039, allocations: 0.5783 MB / 1.084 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.8059, allocations: 0.7795 MB / 1.085 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001905/0.8078, allocations: 1.15 MB / 1.086 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.8089, allocations: 0.7704 MB / 1.086 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000866/0.8098, allocations: 0.5019 MB / 1.087 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.8105, allocations: 0.5403 MB / 1.087 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.8106, allocations: 40 kB / 1.087 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.8117, allocations: 455.5 kB / 1.088 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003531/0.8121, allocations: 278.9 kB / 1.088 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.8124, allocations: 280.9 kB / 1.088 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.8148, allocations: 1.863 MB / 1.09 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.8148, allocations: 3.938 kB / 1.09 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8148, allocations: 0 / 1.09 GB, free: 3.871 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.551e-05/0.8149, allocations: 0 / 1.09 GB, free: 3.871 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003446/0.8183, allocations: 1.617 MB / 1.092 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.8184, allocations: 12.03 kB / 1.092 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000313/0.8187, allocations: 202.8 kB / 1.092 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1174/0.9361, allocations: 20.93 MB / 1.112 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003297/0.9395, allocations: 1.352 MB / 1.114 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.9396, allocations: 106.8 kB / 1.114 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005139/0.9401, allocations: 132 kB / 1.114 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03918/0.9793, allocations: 9.705 MB / 1.123 GB, free: 1.621 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.343e-05/0.9794, allocations: 7.938 kB / 1.123 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003582/0.9798, allocations: 56 kB / 1.124 GB, free: 1.559 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.9798, allocations: 36 kB / 1.124 GB, free: 1.523 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07707/1.057, allocations: 17.48 MB / 1.141 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04961/1.107, allocations: 12.89 MB / 1.153 GB, free: 3.039 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04451/1.151, allocations: 9.984 MB / 1.163 GB, free: 9.039 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007849/1.152, allocations: 0.61 MB / 1.164 GB, free: 8.301 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03773/1.19, allocations: 8.737 MB / 1.172 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=115): time 3.236e-06/1.19, allocations: 0 / 1.172 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=115): time 0.1108/1.301, allocations: 23.86 MB / 1.195 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.301, allocations: 192.9 kB / 1.196 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.302, allocations: 0.806 MB / 1.196 GB, free: 6.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000603/1.303, allocations: 49.7 kB / 1.196 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000495/1.303, allocations: 0.5432 MB / 1.197 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005781/1.304, allocations: 374.6 kB / 1.197 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/1.304, allocations: 24 kB / 1.197 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.304, allocations: 353.9 kB / 1.198 GB, free: 5.219 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03654/1.341, allocations: 8.221 MB / 1.206 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03653/1.377, allocations: 8.358 MB / 1.214 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03395/1.411, allocations: 7.178 MB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/1.411, allocations: 8 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.07331/1.485, allocations: 15.86 MB / 1.236 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.102e-05/1.485, allocations: 8.938 kB / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.485, allocations: 0 / 1.236 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000625/1.485, allocations: 84.83 kB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0211/1.507, allocations: 3.538 MB / 1.24 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/1.509, allocations: 1.549 MB / 1.241 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01993/1.529, allocations: 3.332 MB / 1.245 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006475/1.529, allocations: 107.8 kB / 1.245 GB, free: 4.742 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,ove.ove.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 133 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001266/1.531, allocations: 339.7 kB / 1.245 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004441/1.531, allocations: 106.7 kB / 1.245 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6765/2.208, allocations: 16.46 MB / 1.261 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/2.208, allocations: 13.41 kB / 1.261 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/2.208, allocations: 1 kB / 1.261 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/2.208, allocations: 13.05 kB / 1.261 GB, free: 284.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003158/2.211, allocations: 2.457 MB / 1.264 GB, free: 283 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/2.211, allocations: 0 / 1.264 GB, free: 283 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02022/2.231, allocations: 3.526 MB / 1.267 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006246/2.232, allocations: 87.33 kB / 1.267 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006922/2.233, allocations: 90.12 kB / 1.267 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/2.234, allocations: 1.573 MB / 1.269 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/2.234, allocations: 4.906 kB / 1.269 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07002/2.304, allocations: 15.8 MB / 1.284 GB, free: 270.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00197/2.306, allocations: 0.8178 MB / 1.285 GB, free: 269.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005996/2.307, allocations: 34.62 kB / 1.285 GB, free: 269.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01811/2.325, allocations: 3.286 MB / 1.288 GB, free: 266.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002846/2.326, allocations: 100.9 kB / 1.288 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005471/2.326, allocations: 107.8 kB / 1.289 GB, free: 266.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007396/2.327, allocations: 0.5693 MB / 1.289 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.01e-07/2.327, allocations: 0 / 1.289 GB, free: 265.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001968/2.329, allocations: 0.7223 MB / 1.29 GB, free: 264.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.06653/2.395, allocations: 16.89 MB / 1.306 GB, free: 248.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.06842/2.464, allocations: 16.77 MB / 1.323 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/2.464, allocations: 4.062 kB / 1.323 GB, free: 231.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.03462/2.498, allocations: 8.479 MB / 1.331 GB, free: 222.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/2.5, allocations: 273.4 kB / 1.331 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03942/2.539, allocations: 11.88 MB / 1.343 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006171/2.54, allocations: 1.226 MB / 1.344 GB, free: 209.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003538/2.544, allocations: 0.7313 MB / 1.345 GB, free: 208.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001848/2.546, allocations: 0.6708 MB / 1.345 GB, free: 208 MB / 0.9981 GB Notification: Performance of SimCode: time 9.72e-07/2.546, allocations: 3.938 kB / 1.345 GB, free: 208 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.279/3.824, allocations: 47.94 MB / 1.392 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.3739/4.198, allocations: 252.6 kB / 1.392 GB, free: 160 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.039/7.238, allocations: 3.938 kB / 1.392 GB, free: 160 MB / 0.9981 GB (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat does not exist to compare? outputFormat=mat