Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.242/2.242, 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.001217/0.001217, allocations: 180.1 kB / 491.2 MB, free: 1.602 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.519/1.519, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0009985/0.0009985, allocations: 83.95 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.521e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3034, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.038/5.342, allocations: 1.731 GB / 2.943 GB, free: 134 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/5.342, allocations: 91.94 kB / 2.943 GB, free: 133.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2058/5.548, allocations: 90.47 MB / 3.031 GB, free: 42.98 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.637e-06/5.548, allocations: 4 kB / 3.031 GB, free: 42.98 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002696/5.548, allocations: 43.94 kB / 3.032 GB, free: 42.93 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005524/5.554, allocations: 1.669 MB / 3.033 GB, free: 41.21 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.055e-05/5.554, allocations: 16.02 kB / 3.033 GB, free: 41.19 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002846/5.557, allocations: 365.3 kB / 3.034 GB, free: 40.83 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002754/5.559, allocations: 1.023 MB / 3.034 GB, free: 39.75 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.176e-05/5.56, allocations: 44 kB / 3.035 GB, free: 39.71 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004545/5.56, allocations: 76 kB / 3.035 GB, free: 39.64 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003246/5.563, allocations: 1.867 MB / 3.036 GB, free: 37.77 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/5.566, allocations: 1.278 MB / 3.038 GB, free: 36.39 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/5.566, allocations: 0 / 3.038 GB, free: 36.39 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/5.566, allocations: 4 kB / 3.038 GB, free: 36.39 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/5.566, allocations: 32 kB / 3.038 GB, free: 36.36 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007186/5.573, allocations: 4.248 MB / 3.042 GB, free: 32.04 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/5.575, allocations: 1.264 MB / 3.043 GB, free: 30.75 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005952/5.575, allocations: 469 kB / 3.044 GB, free: 30.28 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001336/5.576, allocations: 61.11 kB / 3.044 GB, free: 30.22 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009809/5.577, allocations: 0.7076 MB / 3.044 GB, free: 29.49 MB / 1.151 GB Notification: Performance of pre-optimization done (n=136): time 3.677e-06/5.577, allocations: 0 / 3.044 GB, free: 29.49 MB / 1.151 GB Notification: Performance of matching and sorting (n=136): time 0.002979/5.58, allocations: 1.244 MB / 3.046 GB, free: 28.23 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/5.58, allocations: 462.1 kB / 3.046 GB, free: 27.68 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/5.581, allocations: 0.903 MB / 3.047 GB, free: 26.76 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/5.581, allocations: 33.7 kB / 3.047 GB, free: 26.72 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004495/5.582, allocations: 0.6178 MB / 3.047 GB, free: 26.09 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002998/5.582, allocations: 433.5 kB / 3.048 GB, free: 25.66 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.687e-05/5.582, allocations: 0 / 3.048 GB, free: 25.66 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001036/5.582, allocations: 349.9 kB / 3.048 GB, free: 25.32 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005012/5.583, allocations: 374.5 kB / 3.049 GB, free: 24.95 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006767/5.583, allocations: 0.5775 MB / 3.049 GB, free: 24.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008104/5.584, allocations: 478.5 kB / 3.05 GB, free: 23.83 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/5.584, allocations: 0 / 3.05 GB, free: 23.83 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002712/5.587, allocations: 1.263 MB / 3.051 GB, free: 22.55 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/5.587, allocations: 4 kB / 3.051 GB, free: 22.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/5.587, allocations: 4 kB / 3.051 GB, free: 22.54 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001075/5.588, allocations: 165.8 kB / 3.051 GB, free: 22.38 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/5.589, allocations: 271.6 kB / 3.051 GB, free: 22.11 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003237/5.592, allocations: 2.95 MB / 3.054 GB, free: 18.92 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/5.594, allocations: 111.1 kB / 3.054 GB, free: 18.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/5.594, allocations: 59.95 kB / 3.054 GB, free: 18.75 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003149/5.594, allocations: 141.5 kB / 3.054 GB, free: 18.61 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002756/5.597, allocations: 1.238 MB / 3.056 GB, free: 17.36 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002222/5.597, allocations: 146.5 kB / 3.056 GB, free: 17.21 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/5.601, allocations: 1.801 MB / 3.058 GB, free: 15.39 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/5.601, allocations: 19.95 kB / 3.058 GB, free: 15.37 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/5.601, allocations: 0 / 3.058 GB, free: 15.37 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/5.601, allocations: 11.91 kB / 3.058 GB, free: 15.36 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/5.603, allocations: 1.324 MB / 3.059 GB, free: 14 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/5.603, allocations: 0 / 3.059 GB, free: 14 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/5.604, allocations: 287.6 kB / 3.059 GB, free: 13.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009043/5.605, allocations: 161.5 kB / 3.059 GB, free: 13.55 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.83e-05/5.605, allocations: 39.92 kB / 3.059 GB, free: 13.51 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002764/5.607, allocations: 2.981 MB / 3.062 GB, free: 10.29 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/5.607, allocations: 0 / 3.062 GB, free: 10.29 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/5.61, allocations: 1.465 MB / 3.064 GB, free: 8.793 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006958/5.611, allocations: 478.5 kB / 3.064 GB, free: 8.305 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/5.611, allocations: 4 kB / 3.064 GB, free: 8.301 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009632/5.612, allocations: 103.9 kB / 3.064 GB, free: 8.199 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/5.613, allocations: 117.3 kB / 3.064 GB, free: 8.082 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/5.613, allocations: 68.08 kB / 3.064 GB, free: 8.016 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009016/5.614, allocations: 0.7077 MB / 3.065 GB, free: 7.301 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/5.614, allocations: 0 / 3.065 GB, free: 7.301 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001665/5.615, allocations: 0.4908 MB / 3.066 GB, free: 6.809 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004823/5.62, allocations: 3.148 MB / 3.069 GB, free: 3.738 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002224/5.622, allocations: 1.273 MB / 3.07 GB, free: 2.449 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/5.622, allocations: 3.938 kB / 3.07 GB, free: 2.445 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/5.624, allocations: 0.8568 MB / 3.071 GB, free: 1.57 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/5.626, allocations: 435.9 kB / 3.071 GB, free: 1.152 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6312/6.257, allocations: 2.731 MB / 3.074 GB, free: 374.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00114/6.258, allocations: 1.321 MB / 3.075 GB, free: 373.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001858/6.26, allocations: 0.4908 MB / 3.076 GB, free: 373.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/6.261, allocations: 0.6568 MB / 3.076 GB, free: 373.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.31e-07/6.261, allocations: 0 / 3.076 GB, free: 373.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09506/6.356, allocations: 39.37 MB / 3.115 GB, free: 371.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/6.356, allocations: 191.8 kB / 3.115 GB, free: 371.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.287/9.644, allocations: 1.828 kB / 3.115 GB, free: 371.5 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat does not exist to compare? outputFormat=mat