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.123/2.123, allocations: 390.5 MB / 398 MB, free: 10.96 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.001226/0.001226, allocations: 176.9 kB / 491.2 MB, free: 1.59 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.449/1.449, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.001232/0.001232, allocations: 87.89 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.518e-05/1.52e-05, allocations: 3.984 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2923, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.313/4.606, allocations: 1.737 GB / 2.95 GB, free: 126.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/4.606, allocations: 81.2 kB / 2.95 GB, free: 126.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1632/4.769, allocations: 76.76 MB / 3.025 GB, free: 49.36 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.095e-06/4.769, allocations: 7.938 kB / 3.025 GB, free: 49.35 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001186/4.769, allocations: 28 kB / 3.025 GB, free: 49.32 MB / 1.151 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.003039/4.772, allocations: 1.353 MB / 3.026 GB, free: 47.92 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/4.772, allocations: 12.03 kB / 3.026 GB, free: 47.91 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007871/4.78, allocations: 1.344 MB / 3.027 GB, free: 46.56 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/4.782, allocations: 0.8832 MB / 3.028 GB, free: 45.63 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/4.783, allocations: 40 kB / 3.028 GB, free: 45.59 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004151/4.783, allocations: 68 kB / 3.028 GB, free: 45.53 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003309/4.786, allocations: 2.07 MB / 3.03 GB, free: 43.45 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/4.789, allocations: 1.521 MB / 3.032 GB, free: 41.87 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/4.789, allocations: 4 kB / 3.032 GB, free: 41.87 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/4.789, allocations: 0 / 3.032 GB, free: 41.87 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/4.789, allocations: 32 kB / 3.032 GB, free: 41.84 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008198/4.798, allocations: 4.583 MB / 3.036 GB, free: 37.19 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/4.8, allocations: 1.938 MB / 3.038 GB, free: 35.23 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/4.801, allocations: 0.7466 MB / 3.039 GB, free: 34.48 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004297/4.802, allocations: 0.6103 MB / 3.04 GB, free: 33.74 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00129/4.803, allocations: 1.003 MB / 3.041 GB, free: 32.72 MB / 1.151 GB Notification: Performance of pre-optimization done (n=121): time 3.136e-06/4.803, allocations: 0 / 3.041 GB, free: 32.72 MB / 1.151 GB Notification: Performance of matching and sorting (n=121): time 0.00443/4.807, allocations: 1.812 MB / 3.042 GB, free: 30.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/4.807, allocations: 248.6 kB / 3.043 GB, free: 30.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000805/4.808, allocations: 0.5818 MB / 3.043 GB, free: 30.01 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/4.808, allocations: 29.7 kB / 3.043 GB, free: 29.98 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003287/4.809, allocations: 480.4 kB / 3.044 GB, free: 29.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/4.809, allocations: 386.2 kB / 3.044 GB, free: 29.12 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.142e-05/4.809, allocations: 0 / 3.044 GB, free: 29.12 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001208/4.809, allocations: 394.7 kB / 3.044 GB, free: 28.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008258/4.81, allocations: 0.6586 MB / 3.045 GB, free: 28.07 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000931/4.811, allocations: 0.7947 MB / 3.046 GB, free: 27.23 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/4.814, allocations: 0.8455 MB / 3.047 GB, free: 26.39 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/4.814, allocations: 3.953 kB / 3.047 GB, free: 26.39 MB / 1.151 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004219/4.818, allocations: 1.824 MB / 3.049 GB, free: 24.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/4.818, allocations: 4 kB / 3.049 GB, free: 24.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/4.818, allocations: 0 / 3.049 GB, free: 24.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/4.818, allocations: 88.83 kB / 3.049 GB, free: 24.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/4.821, allocations: 459.3 kB / 3.049 GB, free: 24.01 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/4.822, allocations: 1.465 MB / 3.05 GB, free: 22.42 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001892/4.824, allocations: 298.9 kB / 3.051 GB, free: 22.12 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/4.824, allocations: 51.94 kB / 3.051 GB, free: 22.07 MB / 1.151 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 () * 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.0002777/4.824, allocations: 130.3 kB / 3.051 GB, free: 21.94 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004095/4.829, allocations: 1.808 MB / 3.053 GB, free: 20.12 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/4.829, allocations: 94.78 kB / 3.053 GB, free: 20.03 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004987/4.834, allocations: 2.237 MB / 3.055 GB, free: 17.78 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/4.834, allocations: 12 kB / 3.055 GB, free: 17.77 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/4.834, allocations: 4 kB / 3.055 GB, free: 17.76 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/4.834, allocations: 7.969 kB / 3.055 GB, free: 17.75 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006381/4.84, allocations: 3.939 MB / 3.059 GB, free: 13.76 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/4.84, allocations: 4 kB / 3.059 GB, free: 13.76 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002143/4.842, allocations: 463.4 kB / 3.059 GB, free: 13.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000478/4.843, allocations: 80.78 kB / 3.059 GB, free: 13.22 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/4.843, allocations: 39.88 kB / 3.059 GB, free: 13.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001311/4.844, allocations: 1.488 MB / 3.061 GB, free: 11.57 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/4.844, allocations: 3.938 kB / 3.061 GB, free: 11.57 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004057/4.848, allocations: 2.008 MB / 3.063 GB, free: 9.543 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/4.849, allocations: 455.3 kB / 3.063 GB, free: 9.078 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/4.849, allocations: 7.953 kB / 3.063 GB, free: 9.07 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/4.851, allocations: 263.6 kB / 3.064 GB, free: 8.812 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/4.851, allocations: 89.19 kB / 3.064 GB, free: 8.727 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/4.851, allocations: 51.95 kB / 3.064 GB, free: 8.676 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005121/4.852, allocations: 487.1 kB / 3.064 GB, free: 8.207 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/4.852, allocations: 0 / 3.064 GB, free: 8.207 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001442/4.853, allocations: 498.6 kB / 3.065 GB, free: 7.719 MB / 1.151 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 (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.005994/4.859, allocations: 3.562 MB / 3.068 GB, free: 4.234 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002316/4.862, allocations: 1.699 MB / 3.07 GB, free: 2.523 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/4.862, allocations: 0 / 3.07 GB, free: 2.523 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/4.863, allocations: 1.002 MB / 3.071 GB, free: 1.516 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/4.864, allocations: 237.7 kB / 3.071 GB, free: 1.289 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6551/5.519, allocations: 2.363 MB / 3.073 GB, free: 382.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008292/5.52, allocations: 1.174 MB / 3.074 GB, free: 382.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001946/5.522, allocations: 462.6 kB / 3.075 GB, free: 382 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/5.523, allocations: 0.5059 MB / 3.075 GB, free: 382 MB / 1.151 GB Notification: Performance of SimCode: time 1.102e-06/5.523, allocations: 0.5625 kB / 3.075 GB, free: 382 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07473/5.598, allocations: 32.56 MB / 3.107 GB, free: 380.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/5.598, allocations: 177.9 kB / 3.107 GB, free: 380.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/8.529, allocations: 3.125 kB / 3.107 GB, free: 380.2 MB / 1.151 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