Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.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.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.Examples.SideFins,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins",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.469/2.469, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001462/0.001462, allocations: 182.9 kB / 0.4901 GB, free: 2.23 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.64/1.64, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0009698/0.0009697, allocations: 115 kB / 0.9396 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 11.59 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3286, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.238/5.566, allocations: 1.738 GB / 2.967 GB, free: 247.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/5.567, allocations: 91.95 kB / 2.967 GB, free: 247.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1693/5.736, allocations: 77.96 MB / 3.044 GB, free: 169.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.264e-06/5.736, allocations: 0 / 3.044 GB, free: 169.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.596e-05/5.736, allocations: 36 kB / 3.044 GB, free: 169.3 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: 304 * Number of variables: 304 Notification: Performance of Generate backend data structure: time 0.00266/5.739, allocations: 1.488 MB / 3.045 GB, free: 167.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/5.739, allocations: 12.56 kB / 3.045 GB, free: 167.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002044/5.739, allocations: 185.5 kB / 3.045 GB, free: 167.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007642/5.747, allocations: 1.352 MB / 3.047 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/5.748, allocations: 0.8717 MB / 3.047 GB, free: 165.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.391e-05/5.749, allocations: 94.39 kB / 3.048 GB, free: 165.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/5.749, allocations: 115.9 kB / 3.048 GB, free: 165.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004695/5.753, allocations: 2.169 MB / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/5.753, allocations: 3.953 kB / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001467/5.754, allocations: 52 kB / 3.05 GB, free: 162.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/5.754, allocations: 28 kB / 3.05 GB, free: 162.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006675/5.76, allocations: 3.104 MB / 3.053 GB, free: 159.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008126/5.768, allocations: 4.84 MB / 3.058 GB, free: 154.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006784/5.775, allocations: 3.031 MB / 3.061 GB, free: 151.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/5.776, allocations: 0.6062 MB / 3.061 GB, free: 150.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003078/5.779, allocations: 1.449 MB / 3.063 GB, free: 149.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=121): time 3.196e-06/5.779, allocations: 0 / 3.063 GB, free: 149.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=121): time 0.009618/5.788, allocations: 3.785 MB / 3.066 GB, free: 145.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/5.789, allocations: 244.3 kB / 3.066 GB, free: 145.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/5.79, allocations: 0.7306 MB / 3.067 GB, free: 144.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/5.79, allocations: 45.7 kB / 3.067 GB, free: 144.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004617/5.79, allocations: 468.7 kB / 3.068 GB, free: 144.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003922/5.791, allocations: 406 kB / 3.068 GB, free: 143.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.007e-05/5.791, allocations: 20 kB / 3.068 GB, free: 143.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001347/5.791, allocations: 357.9 kB / 3.068 GB, free: 143.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002696/5.794, allocations: 1.092 MB / 3.069 GB, free: 142.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/5.797, allocations: 1.246 MB / 3.071 GB, free: 140.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002583/5.799, allocations: 1.084 MB / 3.072 GB, free: 139.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/5.799, allocations: 0 / 3.072 GB, free: 139.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006439/5.806, allocations: 2.535 MB / 3.074 GB, free: 137.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/5.806, allocations: 4 kB / 3.074 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/5.806, allocations: 0 / 3.074 GB, free: 137.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/5.806, allocations: 96.75 kB / 3.074 GB, free: 137.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/5.808, allocations: 455.4 kB / 3.075 GB, free: 136.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001765/5.81, allocations: 1.549 MB / 3.076 GB, free: 135.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/5.812, allocations: 326.8 kB / 3.077 GB, free: 134.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/5.813, allocations: 55.94 kB / 3.077 GB, free: 134.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 125 * 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.0007214/5.813, allocations: 322.4 kB / 3.077 GB, free: 134.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/5.813, allocations: 102.7 kB / 3.077 GB, free: 134.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007139/5.821, allocations: 2.988 MB / 3.08 GB, free: 131.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/5.821, allocations: 12 kB / 3.08 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/5.821, allocations: 0 / 3.08 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/5.821, allocations: 7.969 kB / 3.08 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008981/5.83, allocations: 4.829 MB / 3.085 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/5.83, allocations: 0 / 3.085 GB, free: 126.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002187/5.832, allocations: 471.3 kB / 3.085 GB, free: 125.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005007/5.832, allocations: 88.77 kB / 3.085 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001365/5.833, allocations: 43.95 kB / 3.085 GB, free: 125.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/5.834, allocations: 1.579 MB / 3.087 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/5.834, allocations: 0 / 3.087 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006604/5.841, allocations: 2.73 MB / 3.089 GB, free: 121.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/5.842, allocations: 467.2 kB / 3.09 GB, free: 120.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/5.843, allocations: 27.95 kB / 3.09 GB, free: 120.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002193/5.845, allocations: 287.7 kB / 3.09 GB, free: 120.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002397/5.845, allocations: 81.19 kB / 3.09 GB, free: 120.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/5.845, allocations: 59.94 kB / 3.09 GB, free: 120.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001292/5.846, allocations: 0.5888 MB / 3.091 GB, free: 119.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.01e-07/5.846, allocations: 0 / 3.091 GB, free: 119.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00244/5.849, allocations: 0.5262 MB / 3.091 GB, free: 119.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 132 * 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.01081/5.86, allocations: 4.304 MB / 3.096 GB, free: 115.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006659/5.866, allocations: 2.596 MB / 3.098 GB, free: 112.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/5.867, allocations: 0 / 3.098 GB, free: 112.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003343/5.87, allocations: 1.45 MB / 3.1 GB, free: 111 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/5.871, allocations: 266.3 kB / 3.1 GB, free: 110.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/5.894, allocations: 10.34 MB / 3.11 GB, free: 100.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009139/5.895, allocations: 1.163 MB / 3.111 GB, free: 99.04 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002137/5.897, allocations: 480.5 kB / 3.112 GB, free: 98.56 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/5.898, allocations: 0.507 MB / 3.112 GB, free: 98.05 MB / 1.167 GB Notification: Performance of SimCode: time 2.775e-06/5.898, allocations: 0 / 3.112 GB, free: 98.05 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07278/5.971, allocations: 39.48 MB / 3.151 GB, free: 58.88 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/5.971, allocations: 255.3 kB / 3.151 GB, free: 58.55 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.26/9.231, allocations: 0 / 3.151 GB, free: 58.55 MB / 1.167 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_Examples_SideFins.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat does not exist to compare? outputFormat=mat