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.34/2.34, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.0009487/0.0009491, allocations: 184 kB / 496.1 MB, free: 12.87 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.505/1.505, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.0009156/0.0009157, allocations: 80.02 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.161e-05/4.165e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3196, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.967/5.287, allocations: 1.731 GB / 2.95 GB, free: 104.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/5.287, allocations: 83.95 kB / 2.95 GB, free: 104.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2023/5.49, allocations: 91.63 MB / 3.04 GB, free: 12.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.364e-06/5.49, allocations: 0 / 3.04 GB, free: 12.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001559/5.49, allocations: 43.94 kB / 3.04 GB, free: 12.06 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.003843/5.494, allocations: 1.661 MB / 3.041 GB, free: 10.34 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.631e-05/5.494, allocations: 8.031 kB / 3.041 GB, free: 10.33 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/5.494, allocations: 202.5 kB / 3.042 GB, free: 10.12 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/5.496, allocations: 373.3 kB / 3.042 GB, free: 9.758 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001825/5.498, allocations: 1.011 MB / 3.043 GB, free: 8.691 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.917e-05/5.498, allocations: 98.69 kB / 3.043 GB, free: 8.594 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/5.498, allocations: 132 kB / 3.043 GB, free: 8.465 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/5.5, allocations: 1.459 MB / 3.045 GB, free: 6.914 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/5.5, allocations: 0 / 3.045 GB, free: 6.914 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/5.501, allocations: 60 kB / 3.045 GB, free: 6.855 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/5.501, allocations: 32 kB / 3.045 GB, free: 6.824 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/5.503, allocations: 1.958 MB / 3.047 GB, free: 4.867 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007075/5.51, allocations: 4.51 MB / 3.051 GB, free: 272 kB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6358/6.146, allocations: 1.342 MB / 3.052 GB, free: 385.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001225/6.147, allocations: 0.4969 MB / 3.053 GB, free: 385.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/6.147, allocations: 56.34 kB / 3.053 GB, free: 385.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001545/6.149, allocations: 0.7527 MB / 3.054 GB, free: 385.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=136): time 4.379e-06/6.149, allocations: 0 / 3.054 GB, free: 385.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=136): time 0.004155/6.153, allocations: 1.305 MB / 3.055 GB, free: 385.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001701/6.153, allocations: 466.7 kB / 3.055 GB, free: 384.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002185/6.156, allocations: 1.061 MB / 3.056 GB, free: 384.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/6.156, allocations: 51.89 kB / 3.056 GB, free: 384.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005974/6.156, allocations: 0.6076 MB / 3.057 GB, free: 384.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003983/6.157, allocations: 446.7 kB / 3.057 GB, free: 384.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/6.157, allocations: 30.31 kB / 3.057 GB, free: 384.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/6.157, allocations: 352 kB / 3.058 GB, free: 383.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007649/6.158, allocations: 390.5 kB / 3.058 GB, free: 383.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009169/6.159, allocations: 0.6124 MB / 3.059 GB, free: 383.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008932/6.16, allocations: 489.8 kB / 3.059 GB, free: 383.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/6.16, allocations: 5.031 kB / 3.059 GB, free: 383.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003567/6.163, allocations: 1.34 MB / 3.06 GB, free: 383.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/6.163, allocations: 5.562 kB / 3.06 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/6.163, allocations: 2.375 kB / 3.06 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/6.164, allocations: 171 kB / 3.061 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/6.166, allocations: 266 kB / 3.061 GB, free: 383.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/6.169, allocations: 3.054 MB / 3.064 GB, free: 380.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/6.171, allocations: 166 kB / 3.064 GB, free: 380.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/6.171, allocations: 54.59 kB / 3.064 GB, free: 380.9 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 () * 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.0003757/6.171, allocations: 174.6 kB / 3.064 GB, free: 380.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/6.172, allocations: 153.1 kB / 3.064 GB, free: 380.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/6.177, allocations: 1.906 MB / 3.066 GB, free: 380.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.961e-05/6.177, allocations: 24.67 kB / 3.066 GB, free: 380.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/6.177, allocations: 3.438 kB / 3.066 GB, free: 380.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/6.177, allocations: 12.89 kB / 3.066 GB, free: 380.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/6.18, allocations: 1.524 MB / 3.068 GB, free: 380.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/6.18, allocations: 0 / 3.068 GB, free: 380.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/6.181, allocations: 274.1 kB / 3.068 GB, free: 380.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009806/6.182, allocations: 179.9 kB / 3.068 GB, free: 380.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/6.182, allocations: 43.52 kB / 3.068 GB, free: 380.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/6.185, allocations: 3.104 MB / 3.071 GB, free: 377.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/6.185, allocations: 1.672 kB / 3.071 GB, free: 377.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/6.189, allocations: 1.551 MB / 3.073 GB, free: 377.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/6.19, allocations: 484.6 kB / 3.073 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/6.19, allocations: 40.53 kB / 3.073 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/6.191, allocations: 136.9 kB / 3.073 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/6.192, allocations: 116.1 kB / 3.074 GB, free: 377.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/6.192, allocations: 60.78 kB / 3.074 GB, free: 377.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001441/6.193, allocations: 0.839 MB / 3.074 GB, free: 377.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.022e-06/6.193, allocations: 0 / 3.074 GB, free: 377.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001904/6.195, allocations: 0.5493 MB / 3.075 GB, free: 377.1 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) * 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.005675/6.201, allocations: 3.182 MB / 3.078 GB, free: 376.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00319/6.204, allocations: 1.348 MB / 3.079 GB, free: 376 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/6.204, allocations: 2.188 kB / 3.079 GB, free: 376 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/6.206, allocations: 0.9141 MB / 3.08 GB, free: 375.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/6.209, allocations: 472.8 kB / 3.081 GB, free: 375.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008073/6.217, allocations: 2.878 MB / 3.084 GB, free: 375.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/6.218, allocations: 1.321 MB / 3.085 GB, free: 374.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001936/6.22, allocations: 0.4952 MB / 3.085 GB, free: 374.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009338/6.221, allocations: 0.6774 MB / 3.086 GB, free: 374.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.262e-06/6.221, allocations: 3.938 kB / 3.086 GB, free: 374.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0968/6.317, allocations: 48.85 MB / 3.134 GB, free: 371.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/6.318, allocations: 239.5 kB / 3.134 GB, free: 371 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.535/9.853, allocations: 1.125 kB / 3.134 GB, free: 371 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