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.199/2.199, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001316/0.001316, allocations: 180.8 kB / 496.1 MB, free: 12.84 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.512/1.512, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0009633/0.0009633, allocations: 99.83 kB / 0.9317 GB, free: 5.676 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.365e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2601, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.386/4.646, allocations: 1.738 GB / 2.957 GB, free: 97.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/4.646, allocations: 81.45 kB / 2.957 GB, free: 97.12 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1645/4.811, allocations: 77.66 MB / 3.033 GB, free: 19.15 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/4.811, allocations: 0 / 3.033 GB, free: 19.15 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000124/4.811, allocations: 31.94 kB / 3.033 GB, free: 19.12 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.003217/4.814, allocations: 1.345 MB / 3.034 GB, free: 17.72 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/4.814, allocations: 12.03 kB / 3.034 GB, free: 17.71 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004831/4.815, allocations: 177.6 kB / 3.034 GB, free: 17.52 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007812/4.823, allocations: 1.34 MB / 3.036 GB, free: 16.18 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/4.825, allocations: 0.8793 MB / 3.036 GB, free: 15.25 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.382e-05/4.825, allocations: 90.39 kB / 3.037 GB, free: 15.16 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004022/4.825, allocations: 124 kB / 3.037 GB, free: 15.04 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/4.829, allocations: 1.674 MB / 3.038 GB, free: 13.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/4.829, allocations: 7.891 kB / 3.038 GB, free: 13.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000208/4.829, allocations: 52 kB / 3.038 GB, free: 13.25 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/4.829, allocations: 28 kB / 3.038 GB, free: 13.22 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/4.832, allocations: 2.137 MB / 3.04 GB, free: 11.07 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008875/4.841, allocations: 4.825 MB / 3.045 GB, free: 6.168 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002909/4.844, allocations: 2.016 MB / 3.047 GB, free: 4.129 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/4.845, allocations: 0.7822 MB / 3.048 GB, free: 3.348 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/4.845, allocations: 0.6101 MB / 3.049 GB, free: 2.609 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/4.847, allocations: 1.028 MB / 3.05 GB, free: 1.566 MB / 1.167 GB Notification: Performance of pre-optimization done (n=121): time 4.749e-06/4.847, allocations: 0 / 3.05 GB, free: 1.566 MB / 1.167 GB Notification: Performance of matching and sorting (n=121): time 0.7153/5.562, allocations: 1.663 MB / 3.051 GB, free: 393.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/5.562, allocations: 249.1 kB / 3.051 GB, free: 392.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/5.564, allocations: 0.7166 MB / 3.052 GB, free: 392.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003853/5.564, allocations: 48.23 kB / 3.052 GB, free: 392.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004307/5.565, allocations: 472.8 kB / 3.053 GB, free: 392.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004102/5.565, allocations: 399.6 kB / 3.053 GB, free: 392.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.451e-05/5.565, allocations: 25.22 kB / 3.053 GB, free: 392.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001132/5.565, allocations: 345.7 kB / 3.053 GB, free: 392.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/5.567, allocations: 0.6797 MB / 3.054 GB, free: 392.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/5.568, allocations: 0.8198 MB / 3.055 GB, free: 392 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/5.569, allocations: 0.666 MB / 3.055 GB, free: 392 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/5.569, allocations: 0 / 3.055 GB, free: 392 MB / 1.167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003481/5.573, allocations: 1.69 MB / 3.057 GB, free: 391.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/5.573, allocations: 9.672 kB / 3.057 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/5.573, allocations: 1.125 kB / 3.057 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/5.573, allocations: 88.12 kB / 3.057 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/5.576, allocations: 462.8 kB / 3.058 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/5.577, allocations: 1.526 MB / 3.059 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/5.58, allocations: 325.7 kB / 3.059 GB, free: 390.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/5.58, allocations: 54.11 kB / 3.059 GB, free: 390.6 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 () * 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.0003129/5.58, allocations: 167.4 kB / 3.06 GB, free: 390.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/5.58, allocations: 105.3 kB / 3.06 GB, free: 390.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/5.585, allocations: 2.137 MB / 3.062 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/5.585, allocations: 16.72 kB / 3.062 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/5.585, allocations: 0.75 kB / 3.062 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-05/5.585, allocations: 6.609 kB / 3.062 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00694/5.592, allocations: 3.975 MB / 3.066 GB, free: 389.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/5.592, allocations: 0 / 3.066 GB, free: 389.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002372/5.594, allocations: 461.9 kB / 3.066 GB, free: 389.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004944/5.595, allocations: 84.08 kB / 3.066 GB, free: 389.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/5.595, allocations: 52.38 kB / 3.066 GB, free: 389.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/5.596, allocations: 1.56 MB / 3.068 GB, free: 388.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/5.596, allocations: 0.5156 kB / 3.068 GB, free: 388.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003316/5.6, allocations: 1.888 MB / 3.07 GB, free: 388.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007899/5.601, allocations: 471.9 kB / 3.07 GB, free: 388.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/5.601, allocations: 25.55 kB / 3.07 GB, free: 388.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/5.603, allocations: 282 kB / 3.07 GB, free: 388.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/5.603, allocations: 90.91 kB / 3.071 GB, free: 388.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/5.603, allocations: 57.42 kB / 3.071 GB, free: 388.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008116/5.604, allocations: 0.5835 MB / 3.071 GB, free: 388.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/5.604, allocations: 0 / 3.071 GB, free: 388.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001601/5.606, allocations: 0.521 MB / 3.072 GB, free: 388.1 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 (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.00515/5.611, allocations: 3.403 MB / 3.075 GB, free: 387.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002939/5.614, allocations: 1.759 MB / 3.077 GB, free: 387.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/5.614, allocations: 1.094 kB / 3.077 GB, free: 387.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/5.615, allocations: 1.022 MB / 3.078 GB, free: 387 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/5.616, allocations: 267 kB / 3.078 GB, free: 387 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005403/5.622, allocations: 2.51 MB / 3.08 GB, free: 386.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/5.623, allocations: 1.173 MB / 3.082 GB, free: 385.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001809/5.624, allocations: 473.7 kB / 3.082 GB, free: 385.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009506/5.625, allocations: 0.5113 MB / 3.082 GB, free: 385.7 MB / 1.167 GB Notification: Performance of SimCode: time 7.71e-07/5.625, allocations: 1.188 kB / 3.082 GB, free: 385.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07585/5.701, allocations: 41.24 MB / 3.123 GB, free: 383.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/5.701, allocations: 228.2 kB / 3.123 GB, free: 383 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.168/8.869, allocations: 7.938 kB / 3.123 GB, free: 383 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