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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000889/0.0008891, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008743/0.0008743, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.000391, allocations: 12 kB / 0.8149 GB, free: 14.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7667/0.7671, allocations: 142.3 MB / 0.9538 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006197/0.7734, allocations: 5.779 MB / 0.9595 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1766/0.95, allocations: 139.4 MB / 1.096 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.9517, allocations: 35.81 kB / 1.096 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008781/0.9526, allocations: 242 kB / 1.096 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.9552, allocations: 0.595 MB / 1.096 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.9582, allocations: 1.036 MB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00316/0.9614, allocations: 2.21 MB / 1.1 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.9627, allocations: 0.7742 MB / 1.1 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.9639, allocations: 0.6145 MB / 1.101 GB, free: 9.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.9649, allocations: 0.6802 MB / 1.102 GB, free: 8.441 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.9651, allocations: 48 kB / 1.102 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.9668, allocations: 0.745 MB / 1.102 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003915/0.9672, allocations: 350.5 kB / 1.103 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.9677, allocations: 340.7 kB / 1.103 GB, free: 6.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.9702, allocations: 2.147 MB / 1.105 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.9702, allocations: 0 / 1.105 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9703, allocations: 0 / 1.105 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.884e-05/0.9703, allocations: 0 / 1.105 GB, free: 4.812 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.00424/0.9745, allocations: 1.996 MB / 1.107 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.9746, allocations: 16.03 kB / 1.107 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003239/0.9749, allocations: 211.2 kB / 1.107 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.9768, allocations: 397.1 kB / 1.108 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002037/0.9789, allocations: 1.226 MB / 1.109 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.979, allocations: 102.9 kB / 1.109 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.9792, allocations: 148 kB / 1.109 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003095/0.9823, allocations: 1.644 MB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.9823, allocations: 7.938 kB / 1.111 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.9825, allocations: 60 kB / 1.111 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.9825, allocations: 40 kB / 1.111 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003635/0.9862, allocations: 2.15 MB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009253/0.9954, allocations: 4.81 MB / 1.118 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002985/0.9985, allocations: 1.618 MB / 1.119 GB, free: 6.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.9996, allocations: 0.5951 MB / 1.12 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/0.9997, allocations: 57.22 kB / 1.12 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/1.001, allocations: 0.9417 MB / 1.121 GB, free: 4.453 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=154): time 4.629e-06/1.001, allocations: 4 kB / 1.121 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=154): time 0.005928/1.007, allocations: 2.399 MB / 1.123 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001864/1.008, allocations: 355.5 kB / 1.124 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/1.009, allocations: 1.147 MB / 1.125 GB, free: 416 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/1.009, allocations: 53.7 kB / 1.125 GB, free: 356 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005537/1.01, allocations: 0.6661 MB / 1.125 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004046/1.01, allocations: 496.7 kB / 1.126 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.874e-05/1.01, allocations: 35.94 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001367/1.01, allocations: 353.9 kB / 1.126 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/1.011, allocations: 0.4958 MB / 1.127 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/1.013, allocations: 0.7303 MB / 1.127 GB, free: 13.5 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.014, allocations: 0.5801 MB / 1.128 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.014, allocations: 0 / 1.128 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003482/1.017, allocations: 1.598 MB / 1.13 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.017, allocations: 8 kB / 1.13 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.017, allocations: 0 / 1.13 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000964/1.018, allocations: 173.8 kB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.019, allocations: 307.5 kB / 1.13 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003693/1.023, allocations: 3.061 MB / 1.133 GB, free: 7.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.025, allocations: 203.8 kB / 1.133 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.025, allocations: 63.95 kB / 1.133 GB, free: 7.227 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 167 * 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.0008148/1.026, allocations: 413.5 kB / 1.134 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/1.026, allocations: 158 kB / 1.134 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/1.031, allocations: 2.196 MB / 1.136 GB, free: 4.441 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/1.031, allocations: 20 kB / 1.136 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.031, allocations: 4 kB / 1.136 GB, free: 4.418 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/1.031, allocations: 7.969 kB / 1.136 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/1.033, allocations: 1.632 MB / 1.138 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/1.033, allocations: 3.938 kB / 1.138 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.034, allocations: 287.6 kB / 1.138 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008774/1.035, allocations: 169.5 kB / 1.138 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/1.035, allocations: 47.95 kB / 1.138 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/1.038, allocations: 3.123 MB / 1.141 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.038, allocations: 4.094 kB / 1.141 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003757/1.042, allocations: 1.835 MB / 1.143 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007253/1.043, allocations: 498.3 kB / 1.143 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/1.043, allocations: 40.17 kB / 1.143 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/1.044, allocations: 161.8 kB / 1.144 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/1.045, allocations: 153.7 kB / 1.144 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/1.045, allocations: 67.95 kB / 1.144 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001075/1.046, allocations: 0.7912 MB / 1.145 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.046, allocations: 0 / 1.145 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001326/1.047, allocations: 0.5027 MB / 1.145 GB, free: 10.73 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.005193/1.052, allocations: 2.915 MB / 1.148 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003385/1.056, allocations: 1.61 MB / 1.149 GB, free: 6.328 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/1.056, allocations: 4 kB / 1.149 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00198/1.058, allocations: 1.047 MB / 1.15 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/1.06, allocations: 0.5004 MB / 1.151 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/1.081, allocations: 10.03 MB / 1.161 GB, free: 10.38 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009612/1.082, allocations: 1.334 MB / 1.162 GB, free: 9.012 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001961/1.083, allocations: 0.5243 MB / 1.163 GB, free: 8.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/1.085, allocations: 0.7296 MB / 1.163 GB, free: 7.75 MB / 0.92 GB Notification: Performance of SimCode: time 1.102e-06/1.085, allocations: 0 / 1.163 GB, free: 7.75 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07307/1.158, allocations: 39.48 MB / 1.202 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/1.158, allocations: 263.8 kB / 1.202 GB, free: 428 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/4.18, allocations: 0 / 1.202 GB, free: 428 kB / 0.9512 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