Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.3/2.3, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001137/0.001137, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.565/1.565, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 103.8 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.815e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2845, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.896/5.181, allocations: 1.73 GB / 2.936 GB, free: 127 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/5.181, allocations: 83.64 kB / 2.936 GB, free: 127 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1956/5.377, allocations: 90.45 MB / 3.024 GB, free: 42.45 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.483e-06/5.377, allocations: 0 / 3.024 GB, free: 42.45 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001094/5.377, allocations: 43.94 kB / 3.024 GB, free: 42.4 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.002475/5.379, allocations: 1.669 MB / 3.026 GB, free: 40.68 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/5.379, allocations: 19.91 kB / 3.026 GB, free: 40.66 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/5.381, allocations: 369.4 kB / 3.026 GB, free: 40.29 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/5.383, allocations: 1.007 MB / 3.027 GB, free: 39.23 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/5.383, allocations: 44 kB / 3.027 GB, free: 39.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/5.383, allocations: 76 kB / 3.027 GB, free: 39.11 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00218/5.385, allocations: 1.867 MB / 3.029 GB, free: 37.24 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001773/5.387, allocations: 1.285 MB / 3.031 GB, free: 35.86 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/5.387, allocations: 0 / 3.031 GB, free: 35.86 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/5.387, allocations: 4 kB / 3.031 GB, free: 35.86 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/5.387, allocations: 32 kB / 3.031 GB, free: 35.83 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005721/5.393, allocations: 4.267 MB / 3.035 GB, free: 31.48 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/5.394, allocations: 1.264 MB / 3.036 GB, free: 30.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005322/5.395, allocations: 476.9 kB / 3.036 GB, free: 29.73 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001275/5.395, allocations: 53.19 kB / 3.036 GB, free: 29.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009206/5.396, allocations: 0.7076 MB / 3.037 GB, free: 28.95 MB / 1.151 GB Notification: Performance of pre-optimization done (n=136): time 3.236e-06/5.396, allocations: 4 kB / 3.037 GB, free: 28.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=136): time 0.00276/5.399, allocations: 1.248 MB / 3.038 GB, free: 27.68 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/5.399, allocations: 454.1 kB / 3.039 GB, free: 27.13 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/5.4, allocations: 0.8991 MB / 3.04 GB, free: 26.22 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/5.4, allocations: 37.64 kB / 3.04 GB, free: 26.18 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/5.4, allocations: 0.6217 MB / 3.04 GB, free: 25.54 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/5.401, allocations: 429.5 kB / 3.041 GB, free: 25.12 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/5.401, allocations: 0 / 3.041 GB, free: 25.12 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/5.401, allocations: 357.9 kB / 3.041 GB, free: 24.76 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004743/5.401, allocations: 370.5 kB / 3.041 GB, free: 24.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006453/5.402, allocations: 0.5736 MB / 3.042 GB, free: 23.75 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/5.403, allocations: 482.5 kB / 3.042 GB, free: 23.28 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/5.403, allocations: 0 / 3.042 GB, free: 23.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002465/5.405, allocations: 1.263 MB / 3.044 GB, free: 22 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/5.405, allocations: 4 kB / 3.044 GB, free: 22 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/5.405, allocations: 4 kB / 3.044 GB, free: 21.99 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/5.406, allocations: 161.6 kB / 3.044 GB, free: 21.83 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/5.407, allocations: 275.6 kB / 3.044 GB, free: 21.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/5.41, allocations: 2.943 MB / 3.047 GB, free: 18.38 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/5.411, allocations: 119.1 kB / 3.047 GB, free: 18.26 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/5.411, allocations: 55.95 kB / 3.047 GB, free: 18.2 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.0002519/5.412, allocations: 144.5 kB / 3.047 GB, free: 18.05 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002517/5.414, allocations: 1.246 MB / 3.049 GB, free: 16.79 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/5.414, allocations: 142.3 kB / 3.049 GB, free: 16.65 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003592/5.418, allocations: 1.797 MB / 3.05 GB, free: 14.83 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/5.418, allocations: 16 kB / 3.05 GB, free: 14.82 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/5.418, allocations: 7.953 kB / 3.05 GB, free: 14.81 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/5.418, allocations: 7.969 kB / 3.05 GB, free: 14.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/5.42, allocations: 1.323 MB / 3.052 GB, free: 13.44 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/5.42, allocations: 0 / 3.052 GB, free: 13.44 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/5.421, allocations: 279.6 kB / 3.052 GB, free: 13.17 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008772/5.421, allocations: 169.5 kB / 3.052 GB, free: 13 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.764e-05/5.422, allocations: 31.97 kB / 3.052 GB, free: 12.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/5.424, allocations: 2.989 MB / 3.055 GB, free: 9.734 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/5.424, allocations: 0 / 3.055 GB, free: 9.734 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/5.427, allocations: 1.469 MB / 3.057 GB, free: 8.234 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006464/5.428, allocations: 474.5 kB / 3.057 GB, free: 7.75 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/5.428, allocations: 7.984 kB / 3.057 GB, free: 7.742 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009615/5.429, allocations: 107.9 kB / 3.057 GB, free: 7.637 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/5.429, allocations: 113.4 kB / 3.057 GB, free: 7.527 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/5.429, allocations: 63.92 kB / 3.057 GB, free: 7.465 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008661/5.43, allocations: 0.7116 MB / 3.058 GB, free: 6.746 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/5.43, allocations: 0 / 3.058 GB, free: 6.746 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001423/5.432, allocations: 0.4908 MB / 3.058 GB, free: 6.254 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.004372/5.436, allocations: 3.153 MB / 3.062 GB, free: 3.172 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001956/5.438, allocations: 1.273 MB / 3.063 GB, free: 1.883 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/5.438, allocations: 0 / 3.063 GB, free: 1.883 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/5.439, allocations: 0.8566 MB / 3.064 GB, free: 1.008 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/5.441, allocations: 439 kB / 3.064 GB, free: 0.5898 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5795/6.021, allocations: 2.733 MB / 3.067 GB, free: 377.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/6.022, allocations: 1.321 MB / 3.068 GB, free: 377.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001797/6.023, allocations: 497.7 kB / 3.068 GB, free: 377.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/6.024, allocations: 0.6533 MB / 3.069 GB, free: 377.1 MB / 1.151 GB Notification: Performance of SimCode: time 6.21e-07/6.024, allocations: 0 / 3.069 GB, free: 377.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1013/6.126, allocations: 39.37 MB / 3.108 GB, free: 375.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/6.126, allocations: 189.9 kB / 3.108 GB, free: 374.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.648/9.774, allocations: 9.406 kB / 3.108 GB, free: 374.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat does not exist to compare? outputFormat=mat