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.00147/0.00147, allocations: 99.78 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.001544/0.001544, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.225/2.225, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.603/4.603, allocations: 409.2 MB / 0.6838 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006904/0.0006905, allocations: 12 kB / 0.8375 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414/1.415, allocations: 146.8 MB / 0.9809 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009925/1.425, allocations: 5.607 MB / 0.9863 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.2289/1.654, allocations: 129.9 MB / 1.113 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/1.658, allocations: 31.81 kB / 1.113 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001771/1.659, allocations: 126.8 kB / 1.113 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.007094/1.667, allocations: 0.7569 MB / 1.114 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.007427/1.674, allocations: 1.022 MB / 1.115 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006939/1.681, allocations: 1.605 MB / 1.117 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003729/1.685, allocations: 0.7703 MB / 1.117 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003113/1.688, allocations: 0.6264 MB / 1.118 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0024/1.69, allocations: 0.6258 MB / 1.119 GB, free: 8.809 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008254/1.691, allocations: 52 kB / 1.119 GB, free: 8.758 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004687/1.696, allocations: 0.7177 MB / 1.119 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001482/1.698, allocations: 350.6 kB / 1.12 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001679/1.699, allocations: 344.6 kB / 1.12 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007948/1.707, allocations: 2.151 MB / 1.122 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/1.707, allocations: 0 / 1.122 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of FrontEnd: time 7.384e-06/1.707, allocations: 0 / 1.122 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001526/1.708, allocations: 0 / 1.122 GB, free: 5.195 MB / 0.8731 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.01019/1.718, allocations: 1.992 MB / 1.124 GB, free: 3.145 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 8.041e-05/1.718, allocations: 12.02 kB / 1.124 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001109/1.719, allocations: 211.2 kB / 1.124 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002657/1.722, allocations: 401.1 kB / 1.125 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/1.725, allocations: 1.23 MB / 1.126 GB, free: 1.234 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/1.725, allocations: 110.9 kB / 1.126 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000234/1.725, allocations: 144 kB / 1.126 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004693/1.73, allocations: 1.642 MB / 1.128 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-05/1.73, allocations: 4 kB / 1.128 GB, free: 15.24 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/1.731, allocations: 56 kB / 1.128 GB, free: 15.19 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.204e-05/1.731, allocations: 36 kB / 1.128 GB, free: 15.15 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006133/1.737, allocations: 2.158 MB / 1.13 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01193/1.749, allocations: 4.799 MB / 1.135 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003681/1.753, allocations: 1.616 MB / 1.136 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/1.753, allocations: 61.2 kB / 1.136 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001876/1.755, allocations: 0.936 MB / 1.137 GB, free: 5.465 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=154): time 3.656e-06/1.755, allocations: 8 kB / 1.137 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of matching and sorting (n=154): time 0.007087/1.762, allocations: 2.387 MB / 1.14 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000261/1.762, allocations: 355.5 kB / 1.14 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/1.764, allocations: 1.151 MB / 1.141 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003284/1.765, allocations: 53.7 kB / 1.141 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007344/1.765, allocations: 0.6661 MB / 1.142 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005702/1.766, allocations: 496.8 kB / 1.142 GB, free: 204 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-05/1.766, allocations: 32 kB / 1.142 GB, free: 172 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002286/1.766, allocations: 357.9 kB / 1.143 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/1.767, allocations: 0.4958 MB / 1.143 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/1.769, allocations: 0.7225 MB / 1.144 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/1.77, allocations: 0.5723 MB / 1.144 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/1.77, allocations: 0 / 1.144 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004762/1.775, allocations: 1.598 MB / 1.146 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/1.775, allocations: 4 kB / 1.146 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/1.775, allocations: 4 kB / 1.146 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/1.776, allocations: 177.8 kB / 1.146 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/1.778, allocations: 307.5 kB / 1.146 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004907/1.783, allocations: 3.1 MB / 1.149 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002294/1.785, allocations: 200 kB / 1.15 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/1.785, allocations: 63.95 kB / 1.15 GB, free: 8.219 MB / 0.9044 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.001434/1.787, allocations: 409.5 kB / 1.15 GB, free: 7.812 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006396/1.787, allocations: 162 kB / 1.15 GB, free: 7.652 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006088/1.794, allocations: 2.201 MB / 1.152 GB, free: 5.434 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.115e-05/1.794, allocations: 16 kB / 1.152 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/1.794, allocations: 4 kB / 1.152 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/1.794, allocations: 11.97 kB / 1.152 GB, free: 5.402 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/1.797, allocations: 1.643 MB / 1.154 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/1.797, allocations: 0 / 1.154 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001939/1.799, allocations: 287.6 kB / 1.154 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/1.801, allocations: 177.5 kB / 1.154 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002886/1.801, allocations: 51.95 kB / 1.154 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00657/1.808, allocations: 3.139 MB / 1.157 GB, free: 15.77 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.808, allocations: 7.953 kB / 1.157 GB, free: 15.76 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008163/1.816, allocations: 1.843 MB / 1.159 GB, free: 13.88 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/1.818, allocations: 494.3 kB / 1.16 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005566/1.819, allocations: 36 kB / 1.16 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00224/1.821, allocations: 169.6 kB / 1.16 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/1.821, allocations: 137.8 kB / 1.16 GB, free: 13.04 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002664/1.822, allocations: 67.95 kB / 1.16 GB, free: 12.97 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002454/1.824, allocations: 0.8029 MB / 1.161 GB, free: 12.17 MB / 0.92 GB Notification: Performance of sort global known variables: time 7.61e-07/1.824, allocations: 0 / 1.161 GB, free: 12.17 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003479/1.828, allocations: 0.5027 MB / 1.161 GB, free: 11.66 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.01163/1.839, allocations: 3.005 MB / 1.164 GB, free: 8.809 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006794/1.846, allocations: 1.61 MB / 1.166 GB, free: 7.18 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/1.846, allocations: 4 kB / 1.166 GB, free: 7.176 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00349/1.85, allocations: 1.043 MB / 1.167 GB, free: 6.105 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/1.854, allocations: 476.5 kB / 1.167 GB, free: 5.652 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02649/1.88, allocations: 11.44 MB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/1.882, allocations: 1.376 MB / 1.18 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002268/1.884, allocations: 0.5243 MB / 1.18 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.885, allocations: 0.7335 MB / 1.181 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of SimCode: time 1.563e-06/1.885, allocations: 0 / 1.181 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09661/1.982, allocations: 39.42 MB / 1.22 GB, free: 260 kB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000304/1.982, allocations: 267.9 kB / 1.22 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.232/7.214, allocations: 3.938 kB / 1.22 GB, free: 15.89 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