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.001333/0.001332, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001485/0.001485, allocations: 177.3 kB / 15.94 MB, free: 228 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.383/1.383, allocations: 223.2 MB / 239.9 MB, free: 5.324 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.397/2.397, allocations: 390.3 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003222/0.0003223, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8474/0.8477, allocations: 142.3 MB / 0.9536 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.005771/0.8535, allocations: 5.617 MB / 0.9591 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1805/1.034, allocations: 129.9 MB / 1.086 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/1.036, allocations: 35.75 kB / 1.086 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005822/1.036, allocations: 134.7 kB / 1.086 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002384/1.039, allocations: 0.7493 MB / 1.087 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002755/1.041, allocations: 1.026 MB / 1.088 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002847/1.044, allocations: 1.608 MB / 1.089 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001133/1.045, allocations: 0.7626 MB / 1.09 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/1.046, allocations: 0.638 MB / 1.091 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007899/1.047, allocations: 0.6241 MB / 1.091 GB, free: 2.676 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/1.047, allocations: 52 kB / 1.091 GB, free: 2.625 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/1.049, allocations: 0.7138 MB / 1.092 GB, free: 1.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003475/1.049, allocations: 346.5 kB / 1.092 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003398/1.05, allocations: 344.6 kB / 1.093 GB, free: 1.227 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002306/1.052, allocations: 2.151 MB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/1.052, allocations: 4 kB / 1.095 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.333e-06/1.052, allocations: 0 / 1.095 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.731e-05/1.052, allocations: 0 / 1.095 GB, free: 15.06 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.0039/1.056, allocations: 1.988 MB / 1.097 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.056, allocations: 8.031 kB / 1.097 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000276/1.056, allocations: 215.2 kB / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/1.058, allocations: 401.1 kB / 1.097 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/1.06, allocations: 1.222 MB / 1.099 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.312e-05/1.06, allocations: 106.9 kB / 1.099 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/1.06, allocations: 147.9 kB / 1.099 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/1.063, allocations: 1.646 MB / 1.1 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/1.063, allocations: 0 / 1.1 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/1.064, allocations: 63.98 kB / 1.101 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.478e-05/1.064, allocations: 36 kB / 1.101 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003689/1.067, allocations: 2.146 MB / 1.103 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008427/1.076, allocations: 4.809 MB / 1.107 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003424/1.079, allocations: 1.626 MB / 1.109 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/1.079, allocations: 61.2 kB / 1.109 GB, free: 280 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001689/1.081, allocations: 0.9306 MB / 1.11 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=154): time 2.765e-06/1.081, allocations: 0 / 1.11 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=154): time 0.006392/1.088, allocations: 2.389 MB / 1.112 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001834/1.088, allocations: 359.4 kB / 1.113 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/1.089, allocations: 1.147 MB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001339/1.089, allocations: 61.69 kB / 1.114 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005713/1.09, allocations: 0.6661 MB / 1.114 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/1.09, allocations: 0.489 MB / 1.115 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/1.091, allocations: 28 kB / 1.115 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001624/1.091, allocations: 357.9 kB / 1.115 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/1.092, allocations: 0.4919 MB / 1.116 GB, free: 9.176 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/1.093, allocations: 0.7194 MB / 1.116 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.094, allocations: 0.5878 MB / 1.117 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/1.094, allocations: 0 / 1.117 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003719/1.098, allocations: 1.598 MB / 1.119 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.098, allocations: 8 kB / 1.119 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/1.098, allocations: 0 / 1.119 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001046/1.099, allocations: 169.8 kB / 1.119 GB, free: 6.012 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/1.1, allocations: 307.5 kB / 1.119 GB, free: 5.711 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003949/1.104, allocations: 3.093 MB / 1.122 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/1.106, allocations: 199.2 kB / 1.122 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/1.106, allocations: 67.91 kB / 1.122 GB, free: 2.082 MB / 0.8731 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.0008628/1.107, allocations: 413.5 kB / 1.123 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003663/1.107, allocations: 162 kB / 1.123 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005012/1.112, allocations: 2.2 MB / 1.125 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/1.112, allocations: 24 kB / 1.125 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/1.112, allocations: 4 kB / 1.125 GB, free: 15.26 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.112, allocations: 7.969 kB / 1.125 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/1.115, allocations: 1.632 MB / 1.127 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.115, allocations: 0 / 1.127 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.116, allocations: 287.6 kB / 1.127 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009685/1.117, allocations: 169.5 kB / 1.127 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001091/1.117, allocations: 51.95 kB / 1.127 GB, free: 13.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00422/1.121, allocations: 3.139 MB / 1.13 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/1.121, allocations: 0 / 1.13 GB, free: 9.645 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00424/1.125, allocations: 1.843 MB / 1.132 GB, free: 7.762 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009048/1.126, allocations: 498.3 kB / 1.132 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/1.127, allocations: 40 kB / 1.132 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/1.128, allocations: 162.6 kB / 1.133 GB, free: 7.059 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/1.128, allocations: 149.7 kB / 1.133 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.128, allocations: 71.95 kB / 1.133 GB, free: 6.84 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001345/1.13, allocations: 0.799 MB / 1.134 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.61e-07/1.13, allocations: 0 / 1.134 GB, free: 6.039 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002288/1.132, allocations: 0.5027 MB / 1.134 GB, free: 5.535 MB / 0.8887 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.006204/1.138, allocations: 3 MB / 1.137 GB, free: 2.68 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003535/1.142, allocations: 1.614 MB / 1.139 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.142, allocations: 0 / 1.139 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/1.144, allocations: 1.044 MB / 1.14 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/1.146, allocations: 475.3 kB / 1.14 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02099/1.167, allocations: 11.44 MB / 1.151 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009692/1.168, allocations: 1.369 MB / 1.153 GB, free: 2.305 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001714/1.17, allocations: 0.5282 MB / 1.153 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.171, allocations: 0.7257 MB / 1.154 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of SimCode: time 7.91e-07/1.171, allocations: 0 / 1.154 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06775/1.239, allocations: 39.43 MB / 1.192 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002273/1.239, allocations: 273.6 kB / 1.193 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/4.212, allocations: 3.938 kB / 1.193 GB, free: 9.742 MB / 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