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/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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007944/0.0007945, allocations: 91.45 kB / 15.06 MB, free: 1.098 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.0008013/0.0008013, allocations: 172.7 kB / 15.95 MB, free: 208 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.4/1.4, allocations: 223.2 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.638/2.638, allocations: 409.4 MB / 0.684 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004992, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8249/0.8254, allocations: 146.8 MB / 0.9811 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006801/0.8323, allocations: 5.769 MB / 0.9868 GB, free: 448 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.152/0.9844, allocations: 139.4 MB / 1.123 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001138/0.9855, allocations: 31.81 kB / 1.123 GB, free: 4.586 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007334/0.9863, allocations: 238 kB / 1.123 GB, free: 4.352 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.9884, allocations: 0.5961 MB / 1.124 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.991, allocations: 1.039 MB / 1.125 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003205/0.9942, allocations: 2.211 MB / 1.127 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001516/0.9957, allocations: 0.7703 MB / 1.128 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.9971, allocations: 0.6262 MB / 1.128 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.9981, allocations: 0.6724 MB / 1.129 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.9983, allocations: 52 kB / 1.129 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/1, allocations: 0.7411 MB / 1.13 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003848/1, allocations: 350.4 kB / 1.13 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0004909/1.001, allocations: 348.7 kB / 1.13 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002757/1.004, allocations: 2.139 MB / 1.132 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.004, allocations: 11.98 kB / 1.132 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.204e-06/1.004, allocations: 0 / 1.132 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.644e-05/1.004, allocations: 0 / 1.132 GB, free: 10.76 MB / 0.8887 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.004259/1.008, allocations: 1.988 MB / 1.134 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.008, allocations: 8.031 kB / 1.134 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003549/1.008, allocations: 219.2 kB / 1.135 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/1.01, allocations: 397.1 kB / 1.135 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/1.012, allocations: 1.222 MB / 1.136 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/1.013, allocations: 110.9 kB / 1.136 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/1.013, allocations: 136 kB / 1.136 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/1.016, allocations: 1.658 MB / 1.138 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.985e-05/1.016, allocations: 0 / 1.138 GB, free: 4.816 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/1.016, allocations: 67.94 kB / 1.138 GB, free: 4.75 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/1.016, allocations: 39.98 kB / 1.138 GB, free: 4.711 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003609/1.02, allocations: 2.146 MB / 1.14 GB, free: 2.562 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008063/1.028, allocations: 4.811 MB / 1.145 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003104/1.031, allocations: 1.605 MB / 1.147 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/1.032, allocations: 0.599 MB / 1.147 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001375/1.032, allocations: 66.75 kB / 1.147 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00164/1.034, allocations: 0.9406 MB / 1.148 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=154): time 2.795e-06/1.034, allocations: 0 / 1.148 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=154): time 0.005951/1.04, allocations: 2.393 MB / 1.15 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/1.04, allocations: 359.5 kB / 1.151 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/1.042, allocations: 1.139 MB / 1.152 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/1.042, allocations: 65.69 kB / 1.152 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/1.043, allocations: 0.6621 MB / 1.153 GB, free: 5.641 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/1.043, allocations: 0.493 MB / 1.153 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/1.043, allocations: 24 kB / 1.153 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002517/1.043, allocations: 361.9 kB / 1.153 GB, free: 4.758 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/1.044, allocations: 0.4919 MB / 1.154 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/1.046, allocations: 0.7303 MB / 1.155 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/1.047, allocations: 0.5801 MB / 1.155 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/1.047, allocations: 0 / 1.155 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003549/1.05, allocations: 1.598 MB / 1.157 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.05, allocations: 4 kB / 1.157 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.05, allocations: 4 kB / 1.157 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009795/1.051, allocations: 173.6 kB / 1.157 GB, free: 1.094 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.052, allocations: 303.5 kB / 1.157 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003708/1.056, allocations: 3.065 MB / 1.16 GB, free: 13.45 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/1.058, allocations: 214.5 kB / 1.16 GB, free: 13.24 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/1.058, allocations: 63.95 kB / 1.161 GB, free: 13.18 MB / 0.92 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.0009381/1.059, allocations: 401.6 kB / 1.161 GB, free: 12.78 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/1.059, allocations: 166 kB / 1.161 GB, free: 12.62 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004842/1.064, allocations: 2.204 MB / 1.163 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.064, allocations: 16 kB / 1.163 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.064, allocations: 0 / 1.163 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.007e-05/1.064, allocations: 11.97 kB / 1.163 GB, free: 10.37 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/1.066, allocations: 1.636 MB / 1.165 GB, free: 8.672 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/1.066, allocations: 0 / 1.165 GB, free: 8.672 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.067, allocations: 291.6 kB / 1.165 GB, free: 8.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008823/1.068, allocations: 177.5 kB / 1.165 GB, free: 8.207 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/1.068, allocations: 47.97 kB / 1.165 GB, free: 8.16 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00364/1.072, allocations: 3.115 MB / 1.168 GB, free: 4.77 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.072, allocations: 4.031 kB / 1.168 GB, free: 4.766 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/1.076, allocations: 1.827 MB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008803/1.077, allocations: 498.3 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/1.078, allocations: 40 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/1.079, allocations: 162.4 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/1.079, allocations: 141.7 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/1.079, allocations: 71.95 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001145/1.08, allocations: 0.7952 MB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.8e-07/1.08, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001372/1.082, allocations: 0.5105 MB / 1.172 GB, free: 0.6875 MB / 0.92 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.005325/1.087, allocations: 2.923 MB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003167/1.09, allocations: 1.606 MB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.09, allocations: 4 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/1.092, allocations: 1.051 MB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002195/1.094, allocations: 0.4969 MB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/1.115, allocations: 10.03 MB / 1.188 GB, free: 336 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/1.116, allocations: 1.337 MB / 1.189 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001898/1.118, allocations: 0.5165 MB / 1.19 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.119, allocations: 0.7296 MB / 1.191 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of SimCode: time 1.452e-06/1.119, allocations: 0 / 1.191 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08836/1.207, allocations: 39.48 MB / 1.229 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002481/1.208, allocations: 273.5 kB / 1.229 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/4.11, allocations: 3.938 kB / 1.229 GB, free: 6.387 MB / 0.9825 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) Environment - environmentSimulation: 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