Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.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.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.Overhang,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang",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.159/2.159, allocations: 390.3 MB / 402.8 MB, free: 6.727 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.001029/0.001029, allocations: 188.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.001018/0.001018, allocations: 87.97 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.952e-05, allocations: 3.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2535, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.336/4.59, allocations: 1.739 GB / 2.958 GB, free: 96.64 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/4.59, allocations: 84.55 kB / 2.958 GB, free: 96.56 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1787/4.769, allocations: 81.02 MB / 3.037 GB, free: 15.23 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.753e-06/4.769, allocations: 4 kB / 3.037 GB, free: 15.22 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001207/4.769, allocations: 28 kB / 3.037 GB, free: 15.2 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.003339/4.772, allocations: 1.353 MB / 3.038 GB, free: 13.79 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/4.772, allocations: 8.031 kB / 3.038 GB, free: 13.78 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004469/4.773, allocations: 177.4 kB / 3.038 GB, free: 13.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8021/5.575, allocations: 14.25 MB / 3.052 GB, free: 392.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/5.579, allocations: 1.173 MB / 3.053 GB, free: 392.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/5.579, allocations: 88.61 kB / 3.053 GB, free: 392.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005501/5.58, allocations: 114.9 kB / 3.054 GB, free: 392.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006574/5.586, allocations: 3.081 MB / 3.057 GB, free: 392 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/5.586, allocations: 1.203 kB / 3.057 GB, free: 392 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002928/5.587, allocations: 47.12 kB / 3.057 GB, free: 392 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.613e-05/5.587, allocations: 29.19 kB / 3.057 GB, free: 392 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008611/5.595, allocations: 4.58 MB / 3.061 GB, free: 392 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0449/5.64, allocations: 11.77 MB / 3.073 GB, free: 391.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006187/5.646, allocations: 2.729 MB / 3.075 GB, free: 391.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002895/5.649, allocations: 1.781 MB / 3.077 GB, free: 391.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004606/5.65, allocations: 0.5952 MB / 3.078 GB, free: 390.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003707/5.654, allocations: 2.242 MB / 3.08 GB, free: 389.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=103): time 3.526e-06/5.654, allocations: 0 / 3.08 GB, free: 389.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=103): time 0.006655/5.66, allocations: 3.216 MB / 3.083 GB, free: 388.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/5.66, allocations: 249.1 kB / 3.083 GB, free: 388.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/5.661, allocations: 0.7076 MB / 3.084 GB, free: 387.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003076/5.662, allocations: 51.39 kB / 3.084 GB, free: 387.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/5.662, allocations: 477.2 kB / 3.084 GB, free: 387.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004378/5.663, allocations: 340.1 kB / 3.085 GB, free: 387.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002218/5.663, allocations: 21.41 kB / 3.085 GB, free: 387.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.877e-05/5.663, allocations: 345.6 kB / 3.085 GB, free: 386.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/5.666, allocations: 1.803 MB / 3.087 GB, free: 386.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002939/5.669, allocations: 1.95 MB / 3.089 GB, free: 385.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001969/5.671, allocations: 1.192 MB / 3.09 GB, free: 384.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/5.671, allocations: 3.844 kB / 3.09 GB, free: 384.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006347/5.677, allocations: 3.424 MB / 3.093 GB, free: 383.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/5.677, allocations: 5.438 kB / 3.093 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/5.677, allocations: 1.406 kB / 3.093 GB, free: 383.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005775/5.678, allocations: 83.64 kB / 3.093 GB, free: 383 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01752/5.695, allocations: 3.325 MB / 3.097 GB, free: 382.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/5.697, allocations: 1.532 MB / 3.098 GB, free: 381.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01687/5.714, allocations: 3.129 MB / 3.101 GB, free: 381.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006027/5.714, allocations: 93.78 kB / 3.101 GB, free: 381.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,ove.ove.solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * 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.0005884/5.715, allocations: 160.1 kB / 3.101 GB, free: 381 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003984/5.715, allocations: 98.5 kB / 3.101 GB, free: 380.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008016/5.723, allocations: 3.98 MB / 3.105 GB, free: 379.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/5.723, allocations: 16.44 kB / 3.105 GB, free: 379.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/5.723, allocations: 4 kB / 3.105 GB, free: 379.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/5.723, allocations: 8.969 kB / 3.105 GB, free: 379.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009893/5.733, allocations: 6.642 MB / 3.112 GB, free: 376.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/5.733, allocations: 4 kB / 3.112 GB, free: 376.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01712/5.751, allocations: 3.322 MB / 3.115 GB, free: 376.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005472/5.751, allocations: 86.14 kB / 3.115 GB, free: 376.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005308/5.752, allocations: 88 kB / 3.115 GB, free: 376.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001549/5.753, allocations: 1.544 MB / 3.117 GB, free: 374.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/5.753, allocations: 0 / 3.117 GB, free: 374.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/5.759, allocations: 3.434 MB / 3.12 GB, free: 373.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/5.761, allocations: 0.7615 MB / 3.121 GB, free: 372.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003705/5.761, allocations: 23.94 kB / 3.121 GB, free: 372.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01669/5.778, allocations: 3.079 MB / 3.124 GB, free: 372.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/5.778, allocations: 91.73 kB / 3.124 GB, free: 372.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003816/5.779, allocations: 91.39 kB / 3.124 GB, free: 372.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007595/5.78, allocations: 0.5741 MB / 3.125 GB, free: 372.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.91e-07/5.78, allocations: 0 / 3.125 GB, free: 372.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002397/5.782, allocations: 0.7155 MB / 3.125 GB, free: 372.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.007795/5.79, allocations: 4.959 MB / 3.13 GB, free: 370 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005799/5.796, allocations: 3.916 MB / 3.134 GB, free: 368.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/5.796, allocations: 3.875 kB / 3.134 GB, free: 368.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002955/5.799, allocations: 2.066 MB / 3.136 GB, free: 367.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/5.8, allocations: 255 kB / 3.136 GB, free: 367.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006886/5.807, allocations: 3.447 MB / 3.14 GB, free: 365.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000557/5.807, allocations: 1.153 MB / 3.141 GB, free: 365.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00333/5.811, allocations: 0.6956 MB / 3.141 GB, free: 364.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001689/5.812, allocations: 0.585 MB / 3.142 GB, free: 364.6 MB / 1.167 GB Notification: Performance of SimCode: time 1.022e-06/5.813, allocations: 0 / 3.142 GB, free: 364.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07467/5.887, allocations: 55.13 MB / 3.196 GB, free: 321.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/5.887, allocations: 226.3 kB / 3.196 GB, free: 321 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.454/9.342, allocations: 0 / 3.196 GB, free: 321 MB / 1.167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_Overhang.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.Overhang_res.mat does not exist to compare? outputFormat=mat