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.406/2.406, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001348/0.001348, allocations: 180 kB / 0.4901 GB, free: 2.258 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.502/1.502, allocations: 223.1 MB / 0.7992 GB, free: 15.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.001065/0.001065, allocations: 94.81 kB / 0.9396 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 10.95 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2769/0.2773, allocations: 143 MB / 1.229 GB, free: 85.41 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.331/4.609, allocations: 1.731 GB / 2.961 GB, free: 198.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/4.609, allocations: 93.5 kB / 2.961 GB, free: 198.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2152/4.824, allocations: 92 MB / 3.051 GB, free: 120.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.946e-06/4.824, allocations: 0 / 3.051 GB, free: 120.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002248/4.825, allocations: 47.94 kB / 3.051 GB, free: 120.4 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.005652/4.83, allocations: 1.89 MB / 3.052 GB, free: 118.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/4.83, allocations: 8.031 kB / 3.052 GB, free: 118.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007185/4.831, allocations: 202.1 kB / 3.053 GB, free: 118.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002622/4.834, allocations: 377.3 kB / 3.053 GB, free: 118.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/4.837, allocations: 1.017 MB / 3.054 GB, free: 117.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/4.837, allocations: 102.4 kB / 3.054 GB, free: 117.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004633/4.838, allocations: 130.6 kB / 3.054 GB, free: 117 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004295/4.842, allocations: 1.515 MB / 3.056 GB, free: 115.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.018e-05/4.842, allocations: 8 kB / 3.056 GB, free: 115.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/4.842, allocations: 58.69 kB / 3.056 GB, free: 115.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/4.842, allocations: 32 kB / 3.056 GB, free: 115.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003989/4.846, allocations: 2.059 MB / 3.058 GB, free: 114.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009707/4.856, allocations: 4.502 MB / 3.062 GB, free: 110.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/4.859, allocations: 1.458 MB / 3.064 GB, free: 108.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/4.86, allocations: 61.19 kB / 3.064 GB, free: 108.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/4.861, allocations: 0.8046 MB / 3.064 GB, free: 107.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=136): time 1.08e-05/4.861, allocations: 0 / 3.064 GB, free: 107.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=136): time 0.006396/4.868, allocations: 2.156 MB / 3.067 GB, free: 105.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001626/4.868, allocations: 458.1 kB / 3.067 GB, free: 105.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002288/4.87, allocations: 1.066 MB / 3.068 GB, free: 104.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001943/4.87, allocations: 57.69 kB / 3.068 GB, free: 104 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007048/4.871, allocations: 0.6032 MB / 3.069 GB, free: 103.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/4.872, allocations: 461.3 kB / 3.069 GB, free: 103 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/4.872, allocations: 24 kB / 3.069 GB, free: 103 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001164/4.872, allocations: 349.9 kB / 3.069 GB, free: 102.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009087/4.873, allocations: 434.4 kB / 3.07 GB, free: 102.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/4.874, allocations: 0.6657 MB / 3.071 GB, free: 101.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/4.875, allocations: 0.5246 MB / 3.071 GB, free: 100.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/4.875, allocations: 0 / 3.071 GB, free: 100.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003792/4.879, allocations: 1.432 MB / 3.072 GB, free: 99.47 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/4.879, allocations: 4 kB / 3.072 GB, free: 99.47 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/4.879, allocations: 4 kB / 3.072 GB, free: 99.46 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/4.88, allocations: 161.6 kB / 3.073 GB, free: 99.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/4.881, allocations: 271.6 kB / 3.073 GB, free: 99.04 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003637/4.885, allocations: 3.088 MB / 3.076 GB, free: 95.67 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/4.886, allocations: 166.8 kB / 3.076 GB, free: 95.51 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001733/4.886, allocations: 55.95 kB / 3.076 GB, free: 95.45 MB / 1.167 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 () * Number of clocked 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.00111/4.888, allocations: 386.9 kB / 3.076 GB, free: 95.07 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/4.888, allocations: 146.2 kB / 3.077 GB, free: 94.92 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004996/4.893, allocations: 2.026 MB / 3.079 GB, free: 92.88 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/4.893, allocations: 16 kB / 3.079 GB, free: 92.86 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/4.893, allocations: 8 kB / 3.079 GB, free: 92.85 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/4.893, allocations: 11.97 kB / 3.079 GB, free: 92.84 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/4.896, allocations: 1.518 MB / 3.08 GB, free: 91.27 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/4.896, allocations: 3.938 kB / 3.08 GB, free: 91.27 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/4.897, allocations: 283.6 kB / 3.08 GB, free: 90.99 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/4.898, allocations: 169.5 kB / 3.081 GB, free: 90.82 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/4.898, allocations: 43.97 kB / 3.081 GB, free: 90.78 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003189/4.901, allocations: 3.139 MB / 3.084 GB, free: 87.36 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/4.901, allocations: 7.953 kB / 3.084 GB, free: 87.36 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/4.905, allocations: 1.657 MB / 3.085 GB, free: 85.66 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/4.906, allocations: 486.4 kB / 3.086 GB, free: 85.17 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/4.907, allocations: 32 kB / 3.086 GB, free: 85.14 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/4.908, allocations: 131.9 kB / 3.086 GB, free: 85.01 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/4.908, allocations: 117.8 kB / 3.086 GB, free: 84.89 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/4.909, allocations: 59.95 kB / 3.086 GB, free: 84.83 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001556/4.91, allocations: 0.8513 MB / 3.087 GB, free: 83.98 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/4.91, allocations: 0 / 3.087 GB, free: 83.98 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002217/4.912, allocations: 0.5534 MB / 3.087 GB, free: 83.42 MB / 1.167 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) * Number of clocked states: 0 () * 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.006494/4.919, allocations: 3.316 MB / 3.091 GB, free: 80.26 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002964/4.922, allocations: 1.451 MB / 3.092 GB, free: 78.79 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/4.922, allocations: 0 / 3.092 GB, free: 78.79 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/4.924, allocations: 0.9653 MB / 3.093 GB, free: 77.79 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/4.926, allocations: 473.2 kB / 3.093 GB, free: 77.35 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/4.948, allocations: 10.34 MB / 3.104 GB, free: 66.65 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/4.949, allocations: 1.317 MB / 3.105 GB, free: 65.31 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002145/4.951, allocations: 0.4995 MB / 3.105 GB, free: 64.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/4.952, allocations: 0.6711 MB / 3.106 GB, free: 64.13 MB / 1.167 GB Notification: Performance of SimCode: time 1.723e-06/4.952, allocations: 0 / 3.106 GB, free: 64.13 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09353/5.046, allocations: 47.09 MB / 3.152 GB, free: 17.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/5.046, allocations: 267.8 kB / 3.152 GB, free: 17.05 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.838/8.884, allocations: 4 kB / 3.152 GB, free: 17.04 MB / 1.167 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